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.001281/0.001281, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 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.00135/0.00135, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 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 1.58/1.58, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.89 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1107, allocations: 53.32 MB / 427.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003656/0.1143, allocations: 1.942 MB / 429.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.1165, allocations: 1.219 MB / 431 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1166, allocations: 7.938 kB / 431 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.1173, allocations: 163.4 kB / 431.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.1177, allocations: 155.4 kB / 431.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.1182, allocations: 173.6 kB / 431.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.1185, allocations: 191.5 kB / 431.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1186, allocations: 21.67 kB / 431.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1187, allocations: 83.62 kB / 431.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1189, allocations: 91.55 kB / 431.9 MB, free: 472 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1189, allocations: 12 kB / 431.9 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.119, allocations: 55.97 kB / 431.9 MB, free: 404 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.1191, allocations: 43.83 kB / 432 MB, free: 360 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.783e-05/0.1192, allocations: 71.55 kB / 432 MB, free: 288 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.1195, allocations: 226.9 kB / 432.3 MB, free: 60 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1195, allocations: 0 / 432.3 MB, free: 60 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1195, allocations: 0 / 432.3 MB, free: 60 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1196, allocations: 0 / 432.3 MB, free: 60 kB / 350.1 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.264/0.3835, allocations: 0.5191 MB / 432.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3836, allocations: 10.44 kB / 432.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.374e-05/0.3837, allocations: 23.36 kB / 432.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.384, allocations: 276.3 kB / 433.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.384, allocations: 6.969 kB / 433.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.384, allocations: 5.219 kB / 433.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.3844, allocations: 165.1 kB / 433.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3844, allocations: 0.6875 kB / 433.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3844, allocations: 7.875 kB / 433.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3844, allocations: 5.75 kB / 433.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3845, allocations: 37.86 kB / 433.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.385, allocations: 455.6 kB / 433.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.3852, allocations: 134.6 kB / 433.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.177e-05/0.3853, allocations: 52.22 kB / 433.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.3854, allocations: 2.844 kB / 433.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.3855, allocations: 94.02 kB / 434 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.3855, allocations: 0 / 434 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003751/0.3859, allocations: 161.8 kB / 434.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.386, allocations: 163.1 kB / 434.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.3863, allocations: 274.9 kB / 434.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3863, allocations: 35.52 kB / 434.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.3863, allocations: 117.7 kB / 434.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3864, allocations: 17.83 kB / 434.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.3864, allocations: 33.61 kB / 434.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.3865, allocations: 335.9 kB / 435.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/0.3865, allocations: 22.06 kB / 435.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.528e-05/0.3866, allocations: 83.66 kB / 435.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3868, allocations: 91.81 kB / 435.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3868, allocations: 2.562 kB / 435.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001966/0.387, allocations: 129.1 kB / 435.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.387, allocations: 8.188 kB / 435.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.387, allocations: 3.094 kB / 435.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.387, allocations: 3 kB / 435.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.08e-05/0.3871, allocations: 13.31 kB / 435.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3871, allocations: 3.844 kB / 435.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.3872, allocations: 16.39 kB / 435.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3872, allocations: 10.11 kB / 435.5 MB, free: 9.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.84e-05/0.3873, allocations: 148.5 kB / 435.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.3874, allocations: 73.05 kB / 435.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.3874, allocations: 22.31 kB / 435.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3874, allocations: 1.75 kB / 435.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3874, allocations: 4.062 kB / 435.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3874, allocations: 3.766 kB / 435.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3876, allocations: 235.2 kB / 436 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3876, allocations: 4.5 kB / 436 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.3876, allocations: 8 kB / 436 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3876, allocations: 7.125 kB / 436 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3876, allocations: 4.812 kB / 436 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3876, allocations: 0 / 436 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3876, allocations: 1.094 kB / 436 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.3879, allocations: 181.4 kB / 436.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.3879, allocations: 113.3 kB / 436.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.388, allocations: 2.156 kB / 436.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.278e-05/0.388, allocations: 7.812 kB / 436.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3881, allocations: 8.141 kB / 436.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3881, allocations: 4.219 kB / 436.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.3882, allocations: 202.4 kB / 436.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3882, allocations: 4 kB / 436.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3885, allocations: 37.16 kB / 436.6 MB, free: 8.98 MB / 350.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001499/0.39, allocations: 420.2 kB / 437 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.3902, allocations: 74.42 kB / 437 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3902, allocations: 0 / 437 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.3903, allocations: 32.3 kB / 437.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.3907, allocations: 76.64 kB / 437.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.3914, allocations: 370.7 kB / 437.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.3916, allocations: 0.736 MB / 438.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.3917, allocations: 20.64 kB / 438.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3917, allocations: 0 / 438.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of Templates: time 0.006297/0.398, allocations: 2.759 MB / 441 MB, free: 7.605 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.602639466989785]