Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 112.2 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 184.2 kB / 23.71 MB, free: 4.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 225.6 MB / 252.5 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 47.92 kB / 370.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3676, allocations: 52.18 MB / 423.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003881/0.3715, allocations: 1.924 MB / 425 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3736, allocations: 1.064 MB / 426.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.3737, allocations: 3.938 kB / 426.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007119/0.3744, allocations: 163.4 kB / 426.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.3747, allocations: 115.6 kB / 426.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.3753, allocations: 198 kB / 426.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.3756, allocations: 183.5 kB / 426.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3757, allocations: 21.73 kB / 426.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3759, allocations: 83.62 kB / 426.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.376, allocations: 75.67 kB / 426.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.376, allocations: 8 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.3762, allocations: 63.91 kB / 427 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.062e-05/0.3763, allocations: 39.83 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.3764, allocations: 71.55 kB / 427.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.3767, allocations: 212.3 kB / 427.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3767, allocations: 0 / 427.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3767, allocations: 0 / 427.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3767, allocations: 0 / 427.3 MB, free: 10.52 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.000914/0.3777, allocations: 446.7 kB / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3777, allocations: 8.031 kB / 427.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.3778, allocations: 28.8 kB / 427.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.3781, allocations: 205.2 kB / 428 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3782, allocations: 8.375 kB / 428 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.3782, allocations: 8.125 kB / 428 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.3786, allocations: 146.1 kB / 428.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3786, allocations: 0 / 428.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3786, allocations: 0 / 428.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3786, allocations: 4 kB / 428.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3787, allocations: 39.91 kB / 428.2 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.3792, allocations: 337.5 kB / 428.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.3795, allocations: 103.9 kB / 428.6 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.3796, allocations: 46.56 kB / 428.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.3796, allocations: 3.938 kB / 428.7 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.3798, allocations: 75.34 kB / 428.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3798, allocations: 0 / 428.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003947/0.3802, allocations: 141.7 kB / 428.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.3803, allocations: 144.5 kB / 429 MB, free: 8.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.3806, allocations: 260.9 kB / 429.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3807, allocations: 29.7 kB / 429.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3808, allocations: 116.1 kB / 429.4 MB, free: 8.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.3808, allocations: 19.89 kB / 429.4 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.3809, allocations: 25.72 kB / 429.5 MB, free: 8.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.381, allocations: 338.8 kB / 429.8 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.3811, allocations: 16 kB / 429.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.3812, allocations: 69.98 kB / 429.9 MB, free: 7.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.3814, allocations: 84.19 kB / 430 MB, free: 7.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3814, allocations: 0 / 430 MB, free: 7.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002638/0.3816, allocations: 109.5 kB / 430.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.3817, allocations: 8 kB / 430.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.3817, allocations: 3.984 kB / 430.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3817, allocations: 0 / 430.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.3818, allocations: 16.12 kB / 430.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3818, allocations: 3.938 kB / 430.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.505e-05/0.3818, allocations: 23.83 kB / 430.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3819, allocations: 3.984 kB / 430.1 MB, free: 7.418 MB / 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.0001576/0.382, allocations: 141.8 kB / 430.3 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.3821, allocations: 57.55 kB / 430.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.3824, allocations: 111.3 kB / 430.4 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.3824, allocations: 4.062 kB / 430.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.3824, allocations: 4.375 kB / 430.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.3824, allocations: 3.938 kB / 430.4 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.3826, allocations: 196.7 kB / 430.6 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3826, allocations: 0 / 430.6 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.3826, allocations: 11.92 kB / 430.6 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3827, allocations: 7.938 kB / 430.6 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3827, allocations: 0 / 430.6 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3827, allocations: 4 kB / 430.7 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3827, allocations: 0 / 430.7 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.3829, allocations: 154.6 kB / 430.8 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.383, allocations: 39.77 kB / 430.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.383, allocations: 4 kB / 430.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.3831, allocations: 4 kB / 430.8 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.3832, allocations: 7.984 kB / 430.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.3832, allocations: 7.938 kB / 430.9 MB, free: 6.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.3834, allocations: 196.5 kB / 431.1 MB, free: 6.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3834, allocations: 0 / 431.1 MB, free: 6.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.3837, allocations: 28 kB / 431.1 MB, free: 6.363 MB / 334.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.001607/0.3853, allocations: 420 kB / 431.5 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.3855, allocations: 63.86 kB / 431.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3855, allocations: 4.25 kB / 431.6 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.3856, allocations: 23.98 kB / 431.6 MB, free: 6.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.386, allocations: 70.97 kB / 431.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.3866, allocations: 304.5 kB / 432 MB, free: 5.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.3871, allocations: 0.7358 MB / 432.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.451e-05/0.3872, allocations: 21.47 kB / 432.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.3872, allocations: 19.44 kB / 432.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3872, allocations: 0 / 432.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of Templates: time 0.007072/0.3943, allocations: 2.464 MB / 435.2 MB, free: 2.375 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.236630375497043]