Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.0009387/0.0009387, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.00088/0.00088, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9228/0.9228, allocations: 177 MB / 204.1 MB, free: 5.738 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.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.483e-05, allocations: 3.266 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002741/0.002766, allocations: 1.912 MB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.004272, allocations: 1.16 MB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.004417, allocations: 3.938 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.004996, allocations: 163.3 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.005346, allocations: 159.3 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.005792, allocations: 175.2 kB / 328.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.006044, allocations: 199.4 kB / 328.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.006161, allocations: 21.8 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.006298, allocations: 111.7 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.006413, allocations: 63.8 kB / 328.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.006436, allocations: 16 kB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.006579, allocations: 59.89 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.006649, allocations: 51.78 kB / 328.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.006707, allocations: 39.84 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.007016, allocations: 223.3 kB / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.007019, allocations: 0 / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.007021, allocations: 0 / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.007027, allocations: 0 / 328.8 MB, free: 11.54 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.0007047/0.007732, allocations: 454.6 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.007774, allocations: 15.98 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.007807, allocations: 42.73 kB / 329.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.007858, allocations: 24.8 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.008137, allocations: 208.7 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.008151, allocations: 8.375 kB / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.008164, allocations: 8.375 kB / 329.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.008463, allocations: 158.8 kB / 329.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.008474, allocations: 4.188 kB / 329.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.008486, allocations: 4.125 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.008492, allocations: 0 / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.008573, allocations: 47.91 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.009006, allocations: 401.8 kB / 330.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.009178, allocations: 134.5 kB / 330.3 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.009234, allocations: 55.42 kB / 330.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.009254, allocations: 4 kB / 330.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.009402, allocations: 97.02 kB / 330.5 MB, free: 9.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.009404, allocations: 3.938 kB / 330.5 MB, free: 9.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002866/0.00969, allocations: 173.4 kB / 330.6 MB, free: 9.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.009751, allocations: 132.5 kB / 330.8 MB, free: 9.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.009963, allocations: 281.9 kB / 331.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.00998, allocations: 30.08 kB / 331.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.01005, allocations: 128.3 kB / 331.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.01007, allocations: 15.91 kB / 331.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.01012, allocations: 29.66 kB / 331.3 MB, free: 8.852 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.01021, allocations: 330.8 kB / 331.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/0.01025, allocations: 23.98 kB / 331.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.229e-05/0.01032, allocations: 73.12 kB / 331.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.132e-05/0.0104, allocations: 70.44 kB / 331.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.0104, allocations: 0 / 331.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001238/0.01052, allocations: 109.5 kB / 331.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01054, allocations: 4 kB / 331.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01054, allocations: 3.938 kB / 331.9 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.01056, allocations: 4 kB / 331.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.01062, allocations: 8 kB / 331.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01063, allocations: 0 / 331.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.01067, allocations: 11.98 kB / 331.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.01068, allocations: 4 kB / 331.9 MB, free: 8.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.599e-05/0.01077, allocations: 141.8 kB / 332 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.01083, allocations: 69.5 kB / 332.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.01099, allocations: 127.4 kB / 332.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.011, allocations: 4 kB / 332.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.011, allocations: 0 / 332.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01101, allocations: 4 kB / 332.2 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.01118, allocations: 196.8 kB / 332.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01118, allocations: 0 / 332.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.01121, allocations: 15.98 kB / 332.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01121, allocations: 0 / 332.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.01122, allocations: 8.062 kB / 332.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01122, allocations: 0 / 332.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01122, allocations: 0 / 332.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.01139, allocations: 195.3 kB / 332.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.01143, allocations: 27.89 kB / 332.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.01145, allocations: 8.172 kB / 332.7 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.01149, allocations: 4 kB / 332.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.01152, allocations: 15.92 kB / 332.7 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.01154, allocations: 4 kB / 332.7 MB, free: 7.289 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.01166, allocations: 205.2 kB / 332.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01166, allocations: 4 kB / 332.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.01185, allocations: 31.94 kB / 332.9 MB, free: 7.055 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,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.001053/0.0129, allocations: 1.048 MB / 334 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.01308, allocations: 67.91 kB / 334 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01308, allocations: 0 / 334 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.01313, allocations: 40.05 kB / 334.1 MB, free: 6.012 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.01344, allocations: 59.98 kB / 334.1 MB, free: 5.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.01509, allocations: 1.964 MB / 336.1 MB, free: 3.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.799e-05/0.01518, allocations: 123.8 kB / 336.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.436e-05/0.01527, allocations: 33.59 kB / 336.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.574e-05/0.01535, allocations: 56.42 kB / 336.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01535, allocations: 0 / 336.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.03685, allocations: 5.665 MB / 342 MB, free: 14.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/6.86, allocations: 3.938 kB / 342 MB, free: 14.02 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.595833085477352]