Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008628/0.0008628, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9161/0.9161, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.498e-05, allocations: 3.125 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00225/0.002265, allocations: 1.916 MB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.003549, allocations: 1.184 MB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.003666, allocations: 7.938 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.004168, allocations: 158.4 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.004442, allocations: 155.3 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.004779, allocations: 191.2 kB / 328.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.005, allocations: 203.4 kB / 328.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.005119, allocations: 21.8 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.005241, allocations: 111.7 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.005349, allocations: 63.8 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.005373, allocations: 15.98 kB / 328.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.005491, allocations: 55.91 kB / 328.6 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.644e-05/0.005577, allocations: 47.83 kB / 328.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.826e-05/0.005635, allocations: 39.8 kB / 328.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.005914, allocations: 227.3 kB / 328.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005916, allocations: 0 / 328.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.005917, allocations: 0 / 328.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.005922, allocations: 0 / 328.9 MB, free: 11.5 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005466/0.006468, allocations: 462.6 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.006505, allocations: 11.98 kB / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.00654, allocations: 42.73 kB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.006579, allocations: 20.8 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.006842, allocations: 224.7 kB / 329.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.006858, allocations: 8.375 kB / 329.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.00687, allocations: 4.375 kB / 329.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.007194, allocations: 164 kB / 329.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.007206, allocations: 4.125 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.007218, allocations: 4.125 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.007226, allocations: 4 kB / 329.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.262e-05/0.007319, allocations: 47.91 kB / 329.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008426/0.008162, allocations: 326.4 kB / 330.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.008321, allocations: 134.5 kB / 330.3 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.008378, allocations: 59.36 kB / 330.4 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.008396, allocations: 0 / 330.4 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.008508, allocations: 83.38 kB / 330.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.008509, allocations: 4 kB / 330.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002468/0.008756, allocations: 161.4 kB / 330.6 MB, free: 9.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.008811, allocations: 140.4 kB / 330.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.008999, allocations: 277.9 kB / 331 MB, free: 9.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.009012, allocations: 33.64 kB / 331 MB, free: 9.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.009073, allocations: 120.4 kB / 331.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.009093, allocations: 19.89 kB / 331.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.009128, allocations: 30.11 kB / 331.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.009207, allocations: 330.8 kB / 331.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.009242, allocations: 27.97 kB / 331.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.206e-05/0.009295, allocations: 72.25 kB / 331.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.511e-05/0.00936, allocations: 57.64 kB / 331.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.009362, allocations: 0 / 331.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001078/0.00947, allocations: 105.5 kB / 331.8 MB, free: 8.281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.009481, allocations: 4 kB / 331.8 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.009486, allocations: 0 / 331.8 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.009498, allocations: 0 / 331.8 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.009555, allocations: 20.05 kB / 331.8 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.009559, allocations: 3.938 kB / 331.8 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.009592, allocations: 7.938 kB / 331.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.009598, allocations: 0 / 331.8 MB, free: 8.246 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.454e-05/0.009682, allocations: 141.8 kB / 332 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.009741, allocations: 81.48 kB / 332 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.009887, allocations: 115.4 kB / 332.2 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.00989, allocations: 320 / 332.2 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.009894, allocations: 8.094 kB / 332.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.0099, allocations: 3.984 kB / 332.2 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.01003, allocations: 192.6 kB / 332.4 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.01003, allocations: 0 / 332.4 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.881e-05/0.01005, allocations: 15.92 kB / 332.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01005, allocations: 0 / 332.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01006, allocations: 8 kB / 332.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01006, allocations: 0 / 332.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01006, allocations: 4 kB / 332.4 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.01021, allocations: 183.3 kB / 332.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.01026, allocations: 39.84 kB / 332.6 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.01028, allocations: 4 kB / 332.6 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.01032, allocations: 11.98 kB / 332.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.01035, allocations: 4 kB / 332.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.01036, allocations: 7.984 kB / 332.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.0105, allocations: 209.2 kB / 332.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0105, allocations: 0 / 332.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.01066, allocations: 23.94 kB / 332.9 MB, free: 7.129 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001005/0.01167, allocations: 1.063 MB / 333.9 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.01179, allocations: 63.91 kB / 334 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.0118, allocations: 0 / 334 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.01184, allocations: 27.98 kB / 334 MB, free: 6.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.0121, allocations: 73.23 kB / 334.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.0135, allocations: 1.97 MB / 336.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.49e-05/0.01357, allocations: 123.6 kB / 336.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.01362, allocations: 21.62 kB / 336.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.01369, allocations: 56.48 kB / 336.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01369, allocations: 4 kB / 336.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.03173, allocations: 5.849 MB / 342.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.948/6.98, allocations: 4 kB / 342.1 MB, free: 13.91 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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: 8.713295886293054]