Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111 kB / 17.74 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 196.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3309, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00538/0.3364, allocations: 1.877 MB / 403.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.3394, allocations: 1.149 MB / 404.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.3396, allocations: 7.938 kB / 404.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.3401, allocations: 67.66 kB / 404.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.3405, allocations: 87.66 kB / 404.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3417, allocations: 262.4 kB / 404.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.3421, allocations: 171.5 kB / 405 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3423, allocations: 33.55 kB / 405 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.3424, allocations: 71.69 kB / 405.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3426, allocations: 75.69 kB / 405.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.3427, allocations: 8 kB / 405.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.3429, allocations: 71.89 kB / 405.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.343, allocations: 51.83 kB / 405.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.3432, allocations: 67.48 kB / 405.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.3437, allocations: 251 kB / 405.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3437, allocations: 0 / 405.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3437, allocations: 0 / 405.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3437, allocations: 0 / 405.6 MB, free: 4.645 MB / 318.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.0009253/0.3446, allocations: 0.5246 MB / 406.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.3447, allocations: 11.89 kB / 406.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.3448, allocations: 24.66 kB / 406.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/0.3454, allocations: 291.5 kB / 406.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.3454, allocations: 8.375 kB / 406.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.3455, allocations: 12.06 kB / 406.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.346, allocations: 158.1 kB / 406.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.346, allocations: 0 / 406.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.346, allocations: 7.984 kB / 406.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.346, allocations: 4 kB / 406.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.3462, allocations: 35.91 kB / 406.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/0.347, allocations: 382.4 kB / 407.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.3474, allocations: 119.9 kB / 407.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.3476, allocations: 50.48 kB / 407.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/0.3476, allocations: 4 kB / 407.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.3479, allocations: 79.39 kB / 407.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/0.3479, allocations: 0 / 407.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006288/0.3486, allocations: 153.2 kB / 407.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.3487, allocations: 166.5 kB / 407.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/0.3493, allocations: 326.7 kB / 407.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.3494, allocations: 25.7 kB / 408 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.3495, allocations: 132 kB / 408.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.3496, allocations: 15.75 kB / 408.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.565e-05/0.3497, allocations: 33.7 kB / 408.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3499, allocations: 338.8 kB / 408.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.35, allocations: 23.94 kB / 408.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.3502, allocations: 86.84 kB / 408.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.3506, allocations: 88.22 kB / 408.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.3506, allocations: 0 / 408.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004512/0.3511, allocations: 125.3 kB / 408.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3511, allocations: 4 kB / 408.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3511, allocations: 4 kB / 408.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3512, allocations: 0 / 408.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3514, allocations: 19.94 kB / 408.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3514, allocations: 3.984 kB / 408.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.3516, allocations: 19.97 kB / 408.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.3516, allocations: 4 kB / 408.8 MB, free: 1.074 MB / 318.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,superSample1.y,superSample1.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.000234/0.3518, allocations: 149.8 kB / 409 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.352, allocations: 69.34 kB / 409.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-05/0.3521, allocations: 29.7 kB / 409.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3521, allocations: 320 / 409.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3522, allocations: 0 / 409.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.3522, allocations: 3.938 kB / 409.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.3525, allocations: 245.6 kB / 409.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.3526, allocations: 4 kB / 409.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.3527, allocations: 11.98 kB / 409.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.3527, allocations: 0 / 409.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.3528, allocations: 11.94 kB / 409.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.3528, allocations: 0 / 409.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3528, allocations: 3.938 kB / 409.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.3533, allocations: 170.4 kB / 409.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.3535, allocations: 108.9 kB / 409.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/0.3535, allocations: 4 kB / 409.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3537, allocations: 4 kB / 409.6 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.3538, allocations: 11.98 kB / 409.7 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.3538, allocations: 7.938 kB / 409.7 MB, free: 148 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004332/0.3543, allocations: 245.9 kB / 409.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.3543, allocations: 0 / 409.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005236/0.3548, allocations: 40 kB / 409.9 MB, free: 15.86 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,superSample1.y,sample1.y,superSample1.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.001856/0.3567, allocations: 419.8 kB / 410.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004233/0.3572, allocations: 71.91 kB / 410.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/0.3572, allocations: 0 / 410.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3574, allocations: 27.92 kB / 410.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/0.3581, allocations: 76.97 kB / 410.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.3593, allocations: 402.6 kB / 410.9 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.3599, allocations: 0.7397 MB / 411.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.815e-05/0.36, allocations: 23.44 kB / 411.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 9.81e-07/0.36, allocations: 4 kB / 411.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Templates: time 0.009474/0.3695, allocations: 2.892 MB / 414.6 MB, free: 11.33 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches