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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008245/0.0008245, allocations: 88.28 kB / 21.44 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00328/0.00328, allocations: 158.3 kB / 24.7 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8907/0.8907, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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=5013,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=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.406e-05, allocations: 6.219 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003665/0.003699, allocations: 1.874 MB / 327.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.005819, allocations: 1.211 MB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.005954, allocations: 7.938 kB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.006285, allocations: 63.67 kB / 328.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.006719, allocations: 139.3 kB / 329.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.007413, allocations: 230.2 kB / 329.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.00772, allocations: 187.3 kB / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.007852, allocations: 21.78 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.008037, allocations: 95.73 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.008185, allocations: 75.78 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.008213, allocations: 11.94 kB / 329.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.008391, allocations: 75.88 kB / 329.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.008492, allocations: 47.84 kB / 329.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.008564, allocations: 43.8 kB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.008966, allocations: 243.2 kB / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.00897, allocations: 3.938 kB / 330.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.008973, allocations: 3.984 kB / 330.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.008979, allocations: 0 / 330.1 MB, free: 11.03 MB / 298.7 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.0007545/0.009733, allocations: 474.5 kB / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.009774, allocations: 11.98 kB / 330.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.009845, allocations: 24.8 kB / 330.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.01029, allocations: 232.7 kB / 330.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.0103, allocations: 8.375 kB / 330.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.01032, allocations: 4.375 kB / 330.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.01071, allocations: 184.9 kB / 331 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.01072, allocations: 192 / 331 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.01074, allocations: 4.375 kB / 331 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.01075, allocations: 3.938 kB / 331 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.01087, allocations: 39.97 kB / 331.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008236/0.0117, allocations: 318 kB / 331.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.01195, allocations: 119.9 kB / 331.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.01203, allocations: 42.56 kB / 331.5 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.01206, allocations: 7.938 kB / 331.5 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.01224, allocations: 79.31 kB / 331.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.275e-06/0.01224, allocations: 0 / 331.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004122/0.01265, allocations: 157.7 kB / 331.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.01273, allocations: 140.5 kB / 331.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.01308, allocations: 337.8 kB / 332.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.0131, allocations: 29.7 kB / 332.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.01319, allocations: 132.1 kB / 332.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.01322, allocations: 11.91 kB / 332.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.01328, allocations: 29.7 kB / 332.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.01338, allocations: 330.8 kB / 332.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.335e-05/0.01346, allocations: 24.06 kB / 332.8 MB, free: 8.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.01356, allocations: 110.8 kB / 332.9 MB, free: 7.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.01369, allocations: 69.73 kB / 332.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01369, allocations: 0 / 332.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001973/0.01389, allocations: 113.7 kB / 333.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.0139, allocations: 7.938 kB / 333.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01391, allocations: 4 kB / 333.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.01393, allocations: 0 / 333.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.01403, allocations: 15.98 kB / 333.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.01403, allocations: 4 kB / 333.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.0141, allocations: 3.938 kB / 333.1 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.01411, allocations: 15.95 kB / 333.1 MB, free: 7.719 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001466/0.01425, allocations: 158.6 kB / 333.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.01435, allocations: 69.48 kB / 333.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.01462, allocations: 123.5 kB / 333.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.01462, allocations: 3.984 kB / 333.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.01463, allocations: 4 kB / 333.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01463, allocations: 0 / 333.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.01481, allocations: 173.2 kB / 333.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01481, allocations: 0 / 333.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.01489, allocations: 24.05 kB / 333.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.01489, allocations: 3.938 kB / 333.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.0149, allocations: 4 kB / 333.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.01491, allocations: 0 / 333.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.01491, allocations: 3.938 kB / 333.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.0152, allocations: 162.7 kB / 333.8 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.225e-05/0.01529, allocations: 55.69 kB / 333.9 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.01532, allocations: 0 / 333.9 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/0.01539, allocations: 8 kB / 333.9 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.01544, allocations: 7.984 kB / 333.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.01546, allocations: 11.98 kB / 333.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002408/0.0157, allocations: 249.2 kB / 334.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0157, allocations: 0 / 334.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.01598, allocations: 35.92 kB / 334.2 MB, free: 6.574 MB / 298.7 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001052/0.01703, allocations: 440 kB / 334.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.01726, allocations: 79.89 kB / 334.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01726, allocations: 0 / 334.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.01733, allocations: 32.03 kB / 334.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.0176, allocations: 60.2 kB / 334.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.01809, allocations: 416.8 kB / 335.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.122e-05/0.01818, allocations: 135.9 kB / 335.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.01822, allocations: 20.5 kB / 335.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01823, allocations: 4.188 kB / 335.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of Templates: time 0.004293/0.02252, allocations: 2.996 MB / 338.3 MB, free: 2.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.621001712046564]