Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001629/0.001629, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001841/0.001841, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.648/1.648, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.88 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3586, allocations: 50.54 MB / 409.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.004005/0.3627, allocations: 1.887 MB / 411.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002522/0.3653, allocations: 1.262 MB / 412.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.3654, allocations: 7.938 kB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.3658, allocations: 71.66 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.3662, allocations: 131.4 kB / 412.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.3669, allocations: 219 kB / 412.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.3672, allocations: 183.5 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.3673, allocations: 37.55 kB / 413 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3675, allocations: 75.69 kB / 413.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3676, allocations: 71.69 kB / 413.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.3676, allocations: 8 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.3678, allocations: 71.89 kB / 413.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.368, allocations: 55.83 kB / 413.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.757e-05/0.3681, allocations: 79.42 kB / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.3685, allocations: 255 kB / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3685, allocations: 0 / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3685, allocations: 0 / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.443e-06/0.3685, allocations: 0 / 413.6 MB, free: 13.16 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.0008248/0.3694, allocations: 0.5324 MB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3694, allocations: 8.031 kB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.541e-05/0.3695, allocations: 24.66 kB / 414.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.3699, allocations: 299.5 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.37, allocations: 8.375 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.37, allocations: 8.125 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.3703, allocations: 159.5 kB / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3704, allocations: 0 / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3704, allocations: 0 / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3704, allocations: 4 kB / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3705, allocations: 35.92 kB / 414.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.3711, allocations: 382.4 kB / 415.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.3714, allocations: 119.9 kB / 415.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.3715, allocations: 46.5 kB / 415.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3715, allocations: 11.94 kB / 415.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.3717, allocations: 75.38 kB / 415.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.3717, allocations: 0 / 415.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004038/0.3721, allocations: 153.3 kB / 415.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.3723, allocations: 166.4 kB / 415.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.3726, allocations: 330.7 kB / 415.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3727, allocations: 33.7 kB / 416 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3728, allocations: 136 kB / 416.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.3728, allocations: 15.75 kB / 416.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.3729, allocations: 33.7 kB / 416.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002971/0.3732, allocations: 330.8 kB / 416.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-05/0.3733, allocations: 23.98 kB / 416.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3734, allocations: 94.78 kB / 416.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3736, allocations: 88.47 kB / 416.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3736, allocations: 0 / 416.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002312/0.3738, allocations: 133.2 kB / 416.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3738, allocations: 6.344 kB / 416.8 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3738, allocations: 0 / 416.8 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3739, allocations: 4 kB / 416.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.374, allocations: 15.94 kB / 416.8 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.374, allocations: 7.984 kB / 416.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.493e-05/0.3741, allocations: 12.06 kB / 416.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3741, allocations: 4 kB / 416.9 MB, free: 9.566 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,table.y,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.0001484/0.3742, allocations: 153.8 kB / 417 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.3743, allocations: 69.34 kB / 417.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.3744, allocations: 29.7 kB / 417.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3744, allocations: 0 / 417.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3744, allocations: 0 / 417.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3744, allocations: 7.938 kB / 417.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.3747, allocations: 249.6 kB / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3747, allocations: 0 / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.3748, allocations: 8 kB / 417.4 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3748, allocations: 4 kB / 417.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3748, allocations: 7.938 kB / 417.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3748, allocations: 3.984 kB / 417.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3748, allocations: 7.938 kB / 417.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.3751, allocations: 166.4 kB / 417.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3752, allocations: 112.8 kB / 417.7 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.3752, allocations: 12.06 kB / 417.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.3753, allocations: 7.984 kB / 417.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.3754, allocations: 8.047 kB / 417.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.3754, allocations: 15.91 kB / 417.7 MB, free: 8.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.3756, allocations: 241.9 kB / 417.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3756, allocations: 0 / 417.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000268/0.3759, allocations: 40 kB / 418 MB, free: 8.336 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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 (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.0009802/0.3769, allocations: 405 kB / 418.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.3772, allocations: 75.89 kB / 418.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3772, allocations: 0 / 418.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.3773, allocations: 31.92 kB / 418.5 MB, free: 7.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3777, allocations: 71.86 kB / 418.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.3783, allocations: 381 kB / 418.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.3787, allocations: 0.7358 MB / 419.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.934e-05/0.3788, allocations: 25.64 kB / 419.7 MB, free: 6.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.3789, allocations: 27.42 kB / 419.7 MB, free: 6.676 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3789, allocations: 0 / 419.7 MB, free: 6.676 MB / 334.1 MB Notification: Performance of Templates: time 0.006413/0.3853, allocations: 2.844 MB / 422.6 MB, free: 3.852 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches