Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 51.92 kB / 378.6 MB, free: 3.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2297, allocations: 53.36 MB / 431.9 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002616/0.2324, allocations: 1.446 MB / 433.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001993/0.2326, allocations: 31.91 kB / 433.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.2326, allocations: 4 kB / 433.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.2327, allocations: 3.938 kB / 433.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.119e-05/0.2327, allocations: 3.984 kB / 433.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.233, allocations: 23.92 kB / 433.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.2331, allocations: 19.98 kB / 433.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2332, allocations: 15.78 kB / 433.5 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.205e-05/0.2332, allocations: 11.94 kB / 433.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.2333, allocations: 15.92 kB / 433.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.2333, allocations: 7.984 kB / 433.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.2333, allocations: 4 kB / 433.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.2333, allocations: 7.938 kB / 433.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.2334, allocations: 15.88 kB / 433.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.2335, allocations: 27.89 kB / 433.6 MB, free: 5.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2335, allocations: 0 / 433.6 MB, free: 5.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2335, allocations: 0 / 433.6 MB, free: 5.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2335, allocations: 0 / 433.6 MB, free: 5.367 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004571/0.2339, allocations: 268.2 kB / 433.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.234, allocations: 8.031 kB / 433.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.79e-05/0.234, allocations: 192 / 433.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.234, allocations: 38.75 kB / 433.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.2341, allocations: 0.9375 kB / 433.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.2343, allocations: 134.4 kB / 434 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2343, allocations: 384 / 434 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.2343, allocations: 4.375 kB / 434 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.2347, allocations: 123.5 kB / 434.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2347, allocations: 0 / 434.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.2347, allocations: 0 / 434.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-06/0.2347, allocations: 0 / 434.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.2348, allocations: 19.98 kB / 434.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.2349, allocations: 132.7 kB / 434.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2351, allocations: 50.56 kB / 434.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.425e-05/0.2352, allocations: 24.92 kB / 434.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.2352, allocations: 3.938 kB / 434.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2352, allocations: 34.5 kB / 434.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2352, allocations: 0 / 434.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002609/0.2355, allocations: 77.61 kB / 434.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.2355, allocations: 55.41 kB / 434.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.2356, allocations: 113.8 kB / 434.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.2356, allocations: 29.64 kB / 434.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.2357, allocations: 80.14 kB / 434.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.2357, allocations: 4 kB / 434.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.2357, allocations: 17.72 kB / 434.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2359, allocations: 318.8 kB / 435.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.2359, allocations: 7.938 kB / 435.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.2359, allocations: 31.44 kB / 435.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.986e-05/0.236, allocations: 39.36 kB / 435.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.236, allocations: 0 / 435.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.186e-05/0.2361, allocations: 65.61 kB / 435.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2361, allocations: 10.75 kB / 435.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.2361, allocations: 4 kB / 435.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2361, allocations: 0 / 435.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.2362, allocations: 4 kB / 435.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2362, allocations: 0 / 435.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.2362, allocations: 8 kB / 435.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.2362, allocations: 0 / 435.2 MB, free: 3.473 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.869e-05/0.2363, allocations: 113.9 kB / 435.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.2364, allocations: 69.61 kB / 435.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.2365, allocations: 7.688 kB / 435.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2365, allocations: 240 / 435.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2365, allocations: 0 / 435.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2365, allocations: 7.984 kB / 435.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.889e-05/0.2366, allocations: 128.7 kB / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2366, allocations: 0 / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.2366, allocations: 0 / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.2366, allocations: 7.938 kB / 435.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.2366, allocations: 0 / 435.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2366, allocations: 4 kB / 435.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2366, allocations: 3.938 kB / 435.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.2368, allocations: 92.98 kB / 435.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.2368, allocations: 11.88 kB / 435.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2368, allocations: 0 / 435.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.2368, allocations: 4.375 kB / 435.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-06/0.2368, allocations: 0 / 435.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2368, allocations: 0 / 435.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.2369, allocations: 95.27 kB / 435.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2369, allocations: 0 / 435.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001777/0.2371, allocations: 4 kB / 435.8 MB, free: 2.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005428/0.2376, allocations: 0.6436 MB / 436.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.2377, allocations: 32.17 kB / 436.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2377, allocations: 0 / 436.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.2377, allocations: 3.938 kB / 436.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.2379, allocations: 19.98 kB / 436.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.239, allocations: 1.166 MB / 437.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.2394, allocations: 0.6845 MB / 438.3 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.704e-05/0.2394, allocations: 0 / 438.3 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.2394, allocations: 15.44 kB / 438.3 MB, free: 132 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2394, allocations: 0 / 438.3 MB, free: 132 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.26, allocations: 1.458 MB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.54, allocations: 12 kB / 439.8 MB, free: 14.8 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.89547240495449]