Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001149/0.001149, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008752/0.0008752, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8783/0.8783, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.278e-05, allocations: 4.531 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002626/0.002649, allocations: 1.907 MB / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.004091, allocations: 1.184 MB / 327.7 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.004219, allocations: 7.938 kB / 327.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.004797, allocations: 162.5 kB / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.005123, allocations: 159.3 kB / 328 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.005535, allocations: 179.3 kB / 328.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.00577, allocations: 207.3 kB / 328.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.005877, allocations: 25.78 kB / 328.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.006008, allocations: 111.7 kB / 328.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.981e-05/0.006107, allocations: 67.8 kB / 328.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.006128, allocations: 11.94 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.006247, allocations: 59.91 kB / 328.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.006314, allocations: 47.83 kB / 328.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.006372, allocations: 43.84 kB / 328.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.00664, allocations: 215.3 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.006644, allocations: 4 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006645, allocations: 3.938 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.00665, allocations: 0 / 328.9 MB, free: 11.55 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.0005774/0.007227, allocations: 458.6 kB / 329.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.007264, allocations: 12.03 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.007298, allocations: 38.73 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.007343, allocations: 28.8 kB / 329.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.007602, allocations: 220.7 kB / 329.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.007615, allocations: 8.375 kB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.007627, allocations: 4.375 kB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.007894, allocations: 169.7 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.007902, allocations: 0 / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.007912, allocations: 8 kB / 329.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.007917, allocations: 0 / 329.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.007992, allocations: 43.91 kB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.00838, allocations: 334.3 kB / 330.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.008539, allocations: 130.5 kB / 330.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.008595, allocations: 59.41 kB / 330.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.008615, allocations: 8 kB / 330.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.008733, allocations: 79.31 kB / 330.5 MB, free: 9.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.008734, allocations: 0 / 330.5 MB, free: 9.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002597/0.008994, allocations: 161.4 kB / 330.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.00905, allocations: 140.4 kB / 330.8 MB, free: 9.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.009244, allocations: 277.9 kB / 331.1 MB, free: 9.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.009259, allocations: 33.7 kB / 331.1 MB, free: 9.121 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.009323, allocations: 124.7 kB / 331.2 MB, free: 8.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.009341, allocations: 19.97 kB / 331.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.009375, allocations: 29.72 kB / 331.3 MB, free: 8.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.009453, allocations: 330.8 kB / 331.6 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.672e-05/0.00949, allocations: 19.98 kB / 331.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.188e-05/0.009542, allocations: 72.2 kB / 331.7 MB, free: 8.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.676e-05/0.009609, allocations: 57.7 kB / 331.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009611, allocations: 0 / 331.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001069/0.009718, allocations: 105.7 kB / 331.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.00973, allocations: 8.062 kB / 331.9 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.009734, allocations: 4 kB / 331.9 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.009746, allocations: 3.938 kB / 331.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.009803, allocations: 11.98 kB / 331.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.009807, allocations: 0 / 331.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.009839, allocations: 7.938 kB / 331.9 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.009845, allocations: 4 kB / 331.9 MB, free: 8.289 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.336e-05/0.009929, allocations: 142.8 kB / 332 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.009993, allocations: 77.55 kB / 332.1 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.01013, allocations: 119.4 kB / 332.2 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.01014, allocations: 4 kB / 332.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01015, allocations: 0 / 332.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01015, allocations: 3.984 kB / 332.2 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.01028, allocations: 196.6 kB / 332.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01028, allocations: 0 / 332.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.0103, allocations: 7.984 kB / 332.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.0103, allocations: 4 kB / 332.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.01031, allocations: 4 kB / 332.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01032, allocations: 7.938 kB / 332.4 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01032, allocations: 4 kB / 332.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.01046, allocations: 183.4 kB / 332.6 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.01051, allocations: 31.84 kB / 332.7 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.01053, allocations: 4 kB / 332.7 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.01057, allocations: 7.984 kB / 332.7 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.0106, allocations: 4 kB / 332.7 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.01061, allocations: 7.984 kB / 332.7 MB, free: 7.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.01073, allocations: 209.2 kB / 332.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01073, allocations: 0 / 332.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004252/0.01116, allocations: 27.94 kB / 332.9 MB, free: 7.184 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.0009805/0.01214, allocations: 1.067 MB / 334 MB, free: 6.262 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.01227, allocations: 63.91 kB / 334 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01228, allocations: 0 / 334 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.01232, allocations: 27.94 kB / 334.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.0126, allocations: 87.97 kB / 334.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.01403, allocations: 1.967 MB / 336.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.166e-05/0.01411, allocations: 127.6 kB / 336.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.308e-05/0.01418, allocations: 21.48 kB / 336.3 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.01425, allocations: 60.42 kB / 336.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01425, allocations: 0 / 336.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.03567, allocations: 5.854 MB / 342.2 MB, free: 14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/6.718, allocations: 7.156 kB / 342.2 MB, free: 13.99 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.384985712356865]