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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007697/0.0007697, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001816, allocations: 445.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006472/0.0006472, allocations: 148.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008985/0.001546, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9115/0.9115, allocations: 173.4 MB / 185.9 MB, free: 8.926 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08257/0.9941, allocations: 52.5 MB / 238.4 MB, free: 4.363 MB / 234.7 MB " [Timeout remaining time 179] 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=5053,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=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 239.7 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.358e-05, allocations: 5.688 kB / 239.7 MB, free: 3.094 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002223/0.002237, allocations: 1.956 MB / 241.7 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003558, allocations: 1.153 MB / 242.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.003667, allocations: 7.938 kB / 242.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.00387, allocations: 71.53 kB / 242.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.004041, allocations: 95.47 kB / 243 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.004545, allocations: 267 kB / 243.3 MB, free: 15.53 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.004752, allocations: 167.5 kB / 243.4 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.004843, allocations: 22.45 kB / 243.5 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.00499, allocations: 135.6 kB / 243.6 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.928e-05/0.005079, allocations: 59.8 kB / 243.6 MB, free: 15.15 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.005098, allocations: 12 kB / 243.7 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.00524, allocations: 75.88 kB / 243.7 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.005298, allocations: 39.86 kB / 243.8 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.005337, allocations: 31.88 kB / 243.8 MB, free: 15 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.005542, allocations: 171.3 kB / 244 MB, free: 14.83 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.005553, allocations: 0 / 244 MB, free: 14.83 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005554, allocations: 0 / 244 MB, free: 14.83 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.005564, allocations: 0 / 244 MB, free: 14.83 MB / 250.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.0004956/0.00606, allocations: 480.7 kB / 244.4 MB, free: 14.33 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.00609, allocations: 12.03 kB / 244.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.006128, allocations: 12.92 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.006325, allocations: 208.8 kB / 244.7 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.00634, allocations: 4.375 kB / 244.7 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.006354, allocations: 12.36 kB / 244.7 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.006546, allocations: 133.9 kB / 244.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.006554, allocations: 3.938 kB / 244.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.006562, allocations: 4 kB / 244.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.006568, allocations: 4 kB / 244.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.599e-05/0.006604, allocations: 22.75 kB / 244.8 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.006836, allocations: 195.6 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.006949, allocations: 137.4 kB / 245.2 MB, free: 13.49 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.006978, allocations: 30.58 kB / 245.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.006995, allocations: 3.938 kB / 245.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.59e-05/0.007091, allocations: 90.08 kB / 245.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.007092, allocations: 0 / 245.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001317/0.007224, allocations: 77.59 kB / 245.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.007266, allocations: 114.8 kB / 245.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.007409, allocations: 254.6 kB / 245.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.007425, allocations: 33.7 kB / 245.8 MB, free: 12.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.007468, allocations: 100.6 kB / 245.9 MB, free: 12.72 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.007493, allocations: 20.08 kB / 245.9 MB, free: 12.7 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.007525, allocations: 33.66 kB / 245.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.007596, allocations: 330.8 kB / 246.2 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.007612, allocations: 10.81 kB / 246.2 MB, free: 12.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.007644, allocations: 56.25 kB / 246.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.007686, allocations: 39.36 kB / 246.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007688, allocations: 3.938 kB / 246.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.76e-05/0.007756, allocations: 68.44 kB / 246.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.007766, allocations: 4 kB / 246.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.00777, allocations: 4.062 kB / 246.4 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.007781, allocations: 0 / 246.4 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.007851, allocations: 19.92 kB / 246.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.007855, allocations: 4 kB / 246.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.007888, allocations: 4 kB / 246.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.007894, allocations: 4 kB / 246.4 MB, free: 12.08 MB / 250.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 7.07e-05/0.007965, allocations: 130.3 kB / 246.6 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.008004, allocations: 53.56 kB / 246.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-05/0.008095, allocations: 75.44 kB / 246.7 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008097, allocations: 4.062 kB / 246.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.008099, allocations: 4.312 kB / 246.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.008104, allocations: 3.984 kB / 246.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.262e-05/0.008197, allocations: 117.8 kB / 246.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008198, allocations: 0 / 246.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.008241, allocations: 19.92 kB / 246.8 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.008281, allocations: 39.78 kB / 246.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.008283, allocations: 0 / 246.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.008289, allocations: 4 kB / 246.9 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.00829, allocations: 0 / 246.9 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008291, allocations: 0 / 246.9 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.662e-05/0.008367, allocations: 112.4 kB / 247 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.008394, allocations: 11.92 kB / 247 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.071e-05/0.008425, allocations: 4 kB / 247 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.008459, allocations: 11.98 kB / 247 MB, free: 11.44 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.00847, allocations: 4 kB / 247 MB, free: 11.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.252e-05/0.008543, allocations: 97.59 kB / 247.1 MB, free: 11.34 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008543, allocations: 3.938 kB / 247.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001368/0.00868, allocations: 31.94 kB / 247.2 MB, free: 11.3 MB / 250.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.001223/0.009903, allocations: 0.5668 MB / 247.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.451e-05/0.009997, allocations: 36.84 kB / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.01, allocations: 0 / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.01004, allocations: 36.7 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.0103, allocations: 335.9 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.01078, allocations: 332.7 kB / 248.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.01082, allocations: 79.81 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.578e-05/0.01087, allocations: 21.67 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.161e-05/0.01095, allocations: 79.36 kB / 248.6 MB, free: 9.992 MB / 250.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01095, allocations: 0 / 248.6 MB, free: 9.992 MB / 250.7 MB Notification: Performance of Templates: time 0.004502/0.01545, allocations: 3.188 MB / 251.8 MB, free: 6.848 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.356080338358879]