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.001003/0.001003, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001307/0.001307, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.11/1.11, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.104e-06/2.104e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.284e-05, allocations: 4.844 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002762/0.002785, allocations: 1.56 MB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004241/0.003209, allocations: 147.4 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.573e-05/0.003294, allocations: 3.938 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.169e-05/0.003346, allocations: 7.922 kB / 275.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.003484, allocations: 7.938 kB / 275.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.003738, allocations: 35.78 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.003846, allocations: 47.84 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.003953, allocations: 7.984 kB / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.004019, allocations: 15.98 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.061e-05/0.00407, allocations: 11.92 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.004094, allocations: 4 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.004107, allocations: 4 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.00416, allocations: 8 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.00419, allocations: 19.91 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.0043, allocations: 23.86 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004303, allocations: 0 / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004303, allocations: 4 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.004307, allocations: 0 / 275.3 MB, free: 15.35 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004132/0.004721, allocations: 400.3 kB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.004762, allocations: 12.03 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.004799, allocations: 8.891 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.00496, allocations: 144.4 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.004972, allocations: 8.375 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.004981, allocations: 384 / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.005212, allocations: 133.6 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005221, allocations: 192 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.005228, allocations: 384 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.005238, allocations: 4.375 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.005261, allocations: 11.88 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.005522, allocations: 240.1 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.005664, allocations: 66.11 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.005701, allocations: 35.41 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.005722, allocations: 4 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.005745, allocations: 33.39 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.005746, allocations: 0 / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001469/0.005893, allocations: 61.52 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.005939, allocations: 81.11 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.006057, allocations: 193.4 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.006069, allocations: 25.7 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.006131, allocations: 130.9 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.006141, allocations: 3.953 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.006178, allocations: 31.48 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.006319, allocations: 496.1 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.006333, allocations: 7.938 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-06/0.006339, allocations: 0 / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/0.006361, allocations: 7.688 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.006363, allocations: 0 / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.958e-05/0.006422, allocations: 37.69 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.006436, allocations: 4 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.00644, allocations: 0 / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.006453, allocations: 4.031 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.259e-05/0.006496, allocations: 11.94 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006498, allocations: 0 / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.006515, allocations: 0 / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.006519, allocations: 7.938 kB / 277.5 MB, free: 12.95 MB / 266.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.799e-05/0.006597, allocations: 156.6 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.006662, allocations: 45.64 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.006694, allocations: 8.344 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.0067, allocations: 7.938 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006701, allocations: 0 / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.006705, allocations: 4 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.00685, allocations: 105.2 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.006852, allocations: 0 / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.006899, allocations: 11.98 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.006902, allocations: 0 / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.006907, allocations: 0 / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.006909, allocations: 0 / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.00691, allocations: 0 / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.007032, allocations: 203.5 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.007064, allocations: 11.94 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.007077, allocations: 4 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.007132, allocations: 12.03 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.007155, allocations: 0 / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.007168, allocations: 7.922 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.08e-05/0.007229, allocations: 139.2 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007229, allocations: 0 / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.007455, allocations: 4 kB / 278.2 MB, free: 12.18 MB / 266.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.036e-05/0.007545, allocations: 99.25 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.097e-05/0.007616, allocations: 15.62 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.007619, allocations: 8.062 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.007632, allocations: 7.688 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.007938, allocations: 24.12 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.00824, allocations: 161.1 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.723e-05/0.008287, allocations: 63.28 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.626e-05/0.008303, allocations: 4 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.00836, allocations: 70.2 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.008361, allocations: 0 / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Templates: time 0.0026/0.01096, allocations: 0.5707 MB / 279.2 MB, free: 11.1 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] 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","",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.7729816171340644]