Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001663/0.001663, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.589/1.589, allocations: 230.4 MB / 251.1 MB, free: 8.473 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003264/0.003264, allocations: 67.84 kB / 368.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3697, allocations: 53.31 MB / 422.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003802/0.3735, allocations: 1.921 MB / 424.2 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.3758, allocations: 1.2 MB / 425.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.3759, allocations: 4 kB / 425.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006319/0.3766, allocations: 151.5 kB / 425.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.377, allocations: 151.4 kB / 425.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.3775, allocations: 173.4 kB / 425.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.3778, allocations: 191.4 kB / 426 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3779, allocations: 21.55 kB / 426.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.378, allocations: 79.69 kB / 426.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.3782, allocations: 83.55 kB / 426.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.3782, allocations: 8 kB / 426.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.3784, allocations: 55.97 kB / 426.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.3784, allocations: 51.83 kB / 426.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.203e-05/0.3785, allocations: 71.48 kB / 426.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.3789, allocations: 206.6 kB / 426.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3789, allocations: 3.984 kB / 426.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.3789, allocations: 4 kB / 426.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3789, allocations: 0 / 426.6 MB, free: 3.375 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.0008934/0.3798, allocations: 0.5116 MB / 427.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3799, allocations: 8.031 kB / 427.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.3799, allocations: 28.73 kB / 427.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.3803, allocations: 282.9 kB / 427.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3804, allocations: 4.375 kB / 427.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.3804, allocations: 12.12 kB / 427.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.3807, allocations: 149.6 kB / 427.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3808, allocations: 0 / 427.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3808, allocations: 0 / 427.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3808, allocations: 0 / 427.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3809, allocations: 39.91 kB / 427.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.3815, allocations: 370.3 kB / 428 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.3817, allocations: 103.9 kB / 428.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.3818, allocations: 38.56 kB / 428.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.3818, allocations: 8 kB / 428.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.382, allocations: 71.39 kB / 428.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.382, allocations: 0 / 428.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003847/0.3824, allocations: 141.4 kB / 428.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.3825, allocations: 148.7 kB / 428.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.3828, allocations: 269 kB / 428.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3828, allocations: 25.7 kB / 428.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3829, allocations: 116.1 kB / 428.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.383, allocations: 19.89 kB / 428.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.383, allocations: 29.67 kB / 428.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3832, allocations: 334.8 kB / 429.3 MB, free: 428 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.3833, allocations: 20 kB / 429.3 MB, free: 408 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.3834, allocations: 77.92 kB / 429.4 MB, free: 308 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.3835, allocations: 76.52 kB / 429.4 MB, free: 216 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3836, allocations: 0 / 429.4 MB, free: 216 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000217/0.3838, allocations: 113.5 kB / 429.6 MB, free: 96 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3838, allocations: 8 kB / 429.6 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3838, allocations: 0 / 429.6 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3838, allocations: 7.938 kB / 429.6 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.3839, allocations: 15.92 kB / 429.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3839, allocations: 4.125 kB / 429.6 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/0.384, allocations: 19.88 kB / 429.6 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.384, allocations: 4 kB / 429.6 MB, free: 36 kB / 334.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.0001774/0.3842, allocations: 137.8 kB / 429.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/0.3843, allocations: 65.48 kB / 429.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.3845, allocations: 111.3 kB / 429.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3845, allocations: 4 kB / 429.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3845, allocations: 64 / 429.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3845, allocations: 7.938 kB / 429.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.3847, allocations: 233.6 kB / 430.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3847, allocations: 0 / 430.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.3848, allocations: 4 kB / 430.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3848, allocations: 0 / 430.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.3848, allocations: 8 kB / 430.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3848, allocations: 0 / 430.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3848, allocations: 0 / 430.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.3851, allocations: 158.6 kB / 430.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3852, allocations: 109 kB / 430.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.3852, allocations: 4.125 kB / 430.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.3853, allocations: 11.98 kB / 430.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.3853, allocations: 4.094 kB / 430.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.3853, allocations: 11.88 kB / 430.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.3856, allocations: 204.5 kB / 430.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3856, allocations: 4 kB / 430.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.3858, allocations: 31.92 kB / 430.7 MB, free: 14.83 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.001595/0.3874, allocations: 415.1 kB / 431.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3876, allocations: 63.91 kB / 431.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3876, allocations: 0 / 431.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.3877, allocations: 28.3 kB / 431.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.3881, allocations: 64.06 kB / 431.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000678/0.3888, allocations: 308.5 kB / 431.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.3893, allocations: 0.736 MB / 432.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.627e-05/0.3893, allocations: 21.53 kB / 432.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.3894, allocations: 15.44 kB / 432.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3894, allocations: 0 / 432.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Templates: time 0.006883/0.3963, allocations: 2.483 MB / 434.8 MB, free: 10.83 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches