Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 165.9 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 273 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.634e-05/3.907e-05, allocations: 2.312 kB / 273 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003155/0.003194, allocations: 1.938 MB / 275 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.005514, allocations: 1.258 MB / 276.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.005704, allocations: 3.938 kB / 276.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004177/0.006122, allocations: 75.53 kB / 276.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.006626, allocations: 135.4 kB / 276.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.007458, allocations: 231.1 kB / 276.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.007797, allocations: 183.5 kB / 276.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.007947, allocations: 21.73 kB / 276.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.008126, allocations: 107.7 kB / 277 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.008272, allocations: 67.8 kB / 277.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.008301, allocations: 12 kB / 277.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.008492, allocations: 63.94 kB / 277.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.008599, allocations: 55.83 kB / 277.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.615e-05/0.008675, allocations: 47.78 kB / 277.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.009025, allocations: 179.3 kB / 277.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.009028, allocations: 0 / 277.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009029, allocations: 11.88 kB / 277.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.009037, allocations: 3.984 kB / 277.4 MB, free: 13.44 MB / 266.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.0007844/0.009821, allocations: 0.5672 MB / 278 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.009865, allocations: 12.03 kB / 278 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.009944, allocations: 28.8 kB / 278 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.0103, allocations: 231.5 kB / 278.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.01032, allocations: 8.312 kB / 278.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.01034, allocations: 8.375 kB / 278.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.01071, allocations: 190.7 kB / 278.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.01072, allocations: 7.922 kB / 278.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.01074, allocations: 0 / 278.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.01075, allocations: 0 / 278.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.01083, allocations: 27.92 kB / 278.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.01135, allocations: 367 kB / 278.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.01156, allocations: 117.3 kB / 279 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.01163, allocations: 43.05 kB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.01166, allocations: 7.938 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.0118, allocations: 77.05 kB / 279.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.023e-06/0.0118, allocations: 0 / 279.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003245/0.01212, allocations: 121.5 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.01221, allocations: 144.7 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.01254, allocations: 324.3 kB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.01256, allocations: 29.69 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.01267, allocations: 178.8 kB / 279.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.0127, allocations: 19.84 kB / 279.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.01275, allocations: 35.36 kB / 279.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.01291, allocations: 0.504 MB / 280.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.01295, allocations: 12 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.01303, allocations: 102.1 kB / 280.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.01312, allocations: 51.28 kB / 280.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01312, allocations: 0 / 280.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001622/0.01329, allocations: 89.53 kB / 280.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.01331, allocations: 8 kB / 280.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01331, allocations: 0 / 280.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.01333, allocations: 3.938 kB / 280.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01343, allocations: 12 kB / 280.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.01344, allocations: 0 / 280.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.0135, allocations: 7.984 kB / 280.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.01351, allocations: 3.938 kB / 280.7 MB, free: 9.805 MB / 266.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.0001091/0.01362, allocations: 173.4 kB / 280.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-05/0.01371, allocations: 69.48 kB / 280.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.01392, allocations: 95.75 kB / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01392, allocations: 4 kB / 281 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.01393, allocations: 0 / 281 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.01394, allocations: 4 kB / 281 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.01413, allocations: 200.5 kB / 281.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.01414, allocations: 0 / 281.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.067e-05/0.01421, allocations: 15.94 kB / 281.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01421, allocations: 4.062 kB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.01422, allocations: 8 kB / 281.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01423, allocations: 3.984 kB / 281.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01423, allocations: 0 / 281.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.01446, allocations: 167.5 kB / 281.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.01453, allocations: 39.78 kB / 281.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.01457, allocations: 4 kB / 281.5 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.01463, allocations: 3.984 kB / 281.5 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.01469, allocations: 11.98 kB / 281.5 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.0147, allocations: 4 kB / 281.5 MB, free: 8.922 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.0149, allocations: 229.1 kB / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0149, allocations: 0 / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.01518, allocations: 35.94 kB / 281.8 MB, free: 8.664 MB / 266.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,superSample1.y,sample1.y,superSample1.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.001199/0.01638, allocations: 408.6 kB / 282.2 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.01657, allocations: 47.66 kB / 282.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01657, allocations: 0 / 282.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.709e-05/0.01664, allocations: 35.61 kB / 282.2 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.01705, allocations: 66 kB / 282.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.01767, allocations: 345.1 kB / 282.6 MB, free: 7.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.229e-05/0.01774, allocations: 92.17 kB / 282.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.221e-05/0.01782, allocations: 25.73 kB / 282.8 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.01788, allocations: 20.5 kB / 282.8 MB, free: 7.73 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01788, allocations: 0 / 282.8 MB, free: 7.73 MB / 266.7 MB Notification: Performance of Templates: time 0.00673/0.02461, allocations: 2.992 MB / 285.8 MB, free: 4.773 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9808907478582114]