Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.002147/0.002147, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002838/0.002838, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.641/1.641, allocations: 230.6 MB / 257.5 MB, free: 8.023 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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 51.91 kB / 378.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3681, allocations: 53.37 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.004153/0.3723, allocations: 1.927 MB / 433.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.3749, allocations: 1.222 MB / 434.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.3751, allocations: 7.938 kB / 434.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007664/0.3758, allocations: 155.5 kB / 434.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.3763, allocations: 155.4 kB / 435.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.3769, allocations: 178.8 kB / 435.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.3773, allocations: 191.5 kB / 435.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3775, allocations: 21.53 kB / 435.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.3777, allocations: 87.62 kB / 435.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.3778, allocations: 79.62 kB / 435.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.3778, allocations: 8 kB / 435.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.378, allocations: 63.89 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.3781, allocations: 43.84 kB / 435.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.3782, allocations: 71.53 kB / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.3787, allocations: 209.5 kB / 436 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.3787, allocations: 7.984 kB / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3787, allocations: 0 / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3787, allocations: 0 / 436 MB, free: 2.543 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009763/0.3797, allocations: 454.7 kB / 436.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3797, allocations: 8.031 kB / 436.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.3798, allocations: 24.8 kB / 436.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.3802, allocations: 209.1 kB / 436.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3802, allocations: 8.312 kB / 436.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.3802, allocations: 16.11 kB / 436.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.3806, allocations: 146.7 kB / 436.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3806, allocations: 0 / 436.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3806, allocations: 0 / 436.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3806, allocations: 0 / 436.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.3807, allocations: 39.86 kB / 436.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.3813, allocations: 337.4 kB / 437.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.3816, allocations: 111.9 kB / 437.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.3817, allocations: 38.56 kB / 437.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.3817, allocations: 7.984 kB / 437.4 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.3819, allocations: 75.33 kB / 437.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3819, allocations: 4 kB / 437.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003915/0.3823, allocations: 145.5 kB / 437.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.3824, allocations: 136.5 kB / 437.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.3827, allocations: 269.1 kB / 438 MB, free: 336 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3827, allocations: 29.7 kB / 438 MB, free: 300 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3828, allocations: 116.1 kB / 438.2 MB, free: 180 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.3829, allocations: 16.16 kB / 438.2 MB, free: 164 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.3829, allocations: 37.66 kB / 438.2 MB, free: 120 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3831, allocations: 330.8 kB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.3832, allocations: 23.98 kB / 438.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3833, allocations: 66 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3834, allocations: 80.25 kB / 438.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3834, allocations: 0 / 438.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002328/0.3837, allocations: 113.5 kB / 438.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3837, allocations: 8.125 kB / 438.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3837, allocations: 0 / 438.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3837, allocations: 4 kB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.3838, allocations: 12 kB / 438.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3838, allocations: 4 kB / 438.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.3839, allocations: 15.86 kB / 438.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3839, allocations: 7.938 kB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.000153/0.384, allocations: 138.6 kB / 439 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.836e-05/0.3841, allocations: 69.5 kB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.3844, allocations: 111.3 kB / 439.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3844, allocations: 4 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3844, allocations: 384 / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3844, allocations: 7.922 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.3846, allocations: 204.6 kB / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3846, allocations: 0 / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.3846, allocations: 7.938 kB / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3847, allocations: 4 kB / 439.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3847, allocations: 7.922 kB / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3847, allocations: 4.062 kB / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3847, allocations: 4 kB / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.3849, allocations: 150.6 kB / 439.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.385, allocations: 35.91 kB / 439.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.385, allocations: 0 / 439.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-05/0.3851, allocations: 15.98 kB / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.3851, allocations: 4 kB / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3851, allocations: 11.92 kB / 439.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.3854, allocations: 200.5 kB / 439.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3854, allocations: 0 / 439.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.3856, allocations: 31.94 kB / 439.8 MB, free: 14.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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 (9): * Single equations (assignments): 7 * 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.00152/0.3872, allocations: 412.8 kB / 440.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3874, allocations: 67.84 kB / 440.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3874, allocations: 0 / 440.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/0.3875, allocations: 27.98 kB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.3879, allocations: 69.78 kB / 440.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.3885, allocations: 313.1 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.3889, allocations: 0.7359 MB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.892e-05/0.389, allocations: 17.48 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.389, allocations: 19.42 kB / 441.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.389, allocations: 0 / 441.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Templates: time 0.006582/0.3956, allocations: 2.494 MB / 444 MB, free: 10.31 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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: 5.256259280024096]