Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.0007802/0.0007802, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.004154/0.004154, allocations: 159.9 kB / 24.7 MB, free: 8.887 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 0.8576/0.8576, allocations: 177.1 MB / 205 MB, free: 5.742 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.953e-05/4.163e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002154/0.002196, allocations: 1.54 MB / 327.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000372/0.002568, allocations: 151.4 kB / 327.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.00265, allocations: 4 kB / 327.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.002693, allocations: 3.938 kB / 327.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.002832, allocations: 3.938 kB / 327.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.003071, allocations: 47.83 kB / 327.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.798e-05/0.003169, allocations: 31.86 kB / 327.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.003278, allocations: 11.98 kB / 327.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.00333, allocations: 19.97 kB / 327.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.003378, allocations: 7.938 kB / 327.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.003404, allocations: 0 / 327.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-06/0.003414, allocations: 4 kB / 327.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.003474, allocations: 15.92 kB / 327.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.003503, allocations: 11.98 kB / 327.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.00362, allocations: 47.75 kB / 327.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.003623, allocations: 0 / 327.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.003624, allocations: 4 kB / 327.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.003629, allocations: 4 kB / 327.7 MB, free: 13.54 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000433/0.004062, allocations: 304.9 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.004103, allocations: 8.031 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.004138, allocations: 8.891 kB / 328 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.004349, allocations: 125.7 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.004361, allocations: 4.375 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.004371, allocations: 4.375 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.004631, allocations: 117.5 kB / 328.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.004641, allocations: 4.125 kB / 328.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.004649, allocations: 384 / 328.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.004656, allocations: 4.375 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.0047, allocations: 19.92 kB / 328.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.00497, allocations: 209.3 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.005127, allocations: 61.2 kB / 328.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.005174, allocations: 33.75 kB / 328.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.005192, allocations: 0 / 328.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.005211, allocations: 38.5 kB / 328.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.005213, allocations: 0 / 328.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001822/0.005395, allocations: 77.5 kB / 328.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.005443, allocations: 81.11 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.005547, allocations: 140.6 kB / 328.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.005556, allocations: 25.83 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.005599, allocations: 88.14 kB / 329 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.005607, allocations: 0 / 329 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.005636, allocations: 21.67 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.005726, allocations: 318.8 kB / 329.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.005753, allocations: 4 kB / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.509e-05/0.005768, allocations: 11.92 kB / 329.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.005806, allocations: 16.86 kB / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005808, allocations: 0 / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.445e-05/0.005872, allocations: 49.69 kB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.005889, allocations: 7.984 kB / 329.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.005895, allocations: 3.938 kB / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.005908, allocations: 0 / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.731e-05/0.005945, allocations: 4 kB / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.005951, allocations: 0 / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.005964, allocations: 0 / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.005969, allocations: 4 kB / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.078e-05/0.00604, allocations: 117.8 kB / 329.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.006085, allocations: 49.69 kB / 329.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.006118, allocations: 16.27 kB / 329.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.006121, allocations: 4 kB / 329.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.006126, allocations: 0 / 329.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.006129, allocations: 0 / 329.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.549e-05/0.006225, allocations: 121.2 kB / 329.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.006226, allocations: 0 / 329.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.006262, allocations: 11.98 kB / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006263, allocations: 0 / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.00627, allocations: 4 kB / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.006273, allocations: 7.938 kB / 329.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.006274, allocations: 3.938 kB / 329.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.006391, allocations: 164.3 kB / 330 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.00642, allocations: 7.953 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.006432, allocations: 4 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.279e-05/0.006465, allocations: 11.92 kB / 330 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.006494, allocations: 3.938 kB / 330 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.006498, allocations: 4 kB / 330 MB, free: 10.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.006546, allocations: 105.9 kB / 330.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006546, allocations: 0 / 330.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.006687, allocations: 8 kB / 330.1 MB, free: 10.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 9.438e-05/0.006781, allocations: 95.23 kB / 330.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.386e-05/0.006875, allocations: 23.98 kB / 330.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.006877, allocations: 0 / 330.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-05/0.006893, allocations: 7.938 kB / 330.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.007147, allocations: 24.38 kB / 330.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.007456, allocations: 183.8 kB / 330.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.423e-05/0.00753, allocations: 79.7 kB / 330.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.00756, allocations: 8.5 kB / 330.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.007561, allocations: 0 / 330.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of Templates: time 0.001669/0.00923, allocations: 0.6794 MB / 331.2 MB, free: 9.711 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.20427003595978]