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.002358/0.002358, allocations: 99.86 kB / 20.96 MB, free: 3.457 MB / 18.57 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.00263/0.00263, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 18.57 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 1.543/1.543, allocations: 173.4 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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 2.074e-06/2.074e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.569e-05, allocations: 2.312 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.006237/0.006273, allocations: 1.874 MB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003535/0.009808, allocations: 1.122 MB / 270.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.009941, allocations: 7.938 kB / 270.3 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.01035, allocations: 67.59 kB / 270.4 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.01076, allocations: 91.53 kB / 270.5 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.01191, allocations: 274.9 kB / 270.7 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.01227, allocations: 171.5 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.01241, allocations: 17.8 kB / 270.9 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.01264, allocations: 99.67 kB / 271 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.01282, allocations: 67.84 kB / 271.1 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.01286, allocations: 11.94 kB / 271.1 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.01309, allocations: 71.88 kB / 271.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.0132, allocations: 55.83 kB / 271.2 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.01331, allocations: 39.86 kB / 271.3 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.01381, allocations: 235.2 kB / 271.5 MB, free: 2.543 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01382, allocations: 0 / 271.5 MB, free: 2.543 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01382, allocations: 0 / 271.5 MB, free: 2.543 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.01382, allocations: 0 / 271.5 MB, free: 2.543 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.001154/0.01498, allocations: 0.5824 MB / 272.1 MB, free: 1.918 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.01502, allocations: 12.03 kB / 272.1 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.01513, allocations: 28.8 kB / 272.1 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.01567, allocations: 227.6 kB / 272.3 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.01569, allocations: 8.375 kB / 272.3 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.01571, allocations: 4.375 kB / 272.4 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.01622, allocations: 201 kB / 272.5 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.01624, allocations: 3.938 kB / 272.6 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.01625, allocations: 0 / 272.6 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.01626, allocations: 4 kB / 272.6 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.01641, allocations: 31.98 kB / 272.6 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.01722, allocations: 395 kB / 273 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.01756, allocations: 133.3 kB / 273.1 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.01767, allocations: 55.03 kB / 273.2 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.01769, allocations: 0 / 273.2 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.01788, allocations: 84.97 kB / 273.2 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.01788, allocations: 0 / 273.2 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004377/0.01832, allocations: 149.6 kB / 273.4 MB, free: 444 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.01843, allocations: 136.5 kB / 273.5 MB, free: 276 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.01889, allocations: 368.3 kB / 273.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.01891, allocations: 25.7 kB / 273.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.01907, allocations: 190.9 kB / 274.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.01911, allocations: 15.91 kB / 274.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.01919, allocations: 43.31 kB / 274.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003066/0.01949, allocations: 0.5157 MB / 274.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.01955, allocations: 12 kB / 274.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.01969, allocations: 110.1 kB / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.01983, allocations: 67.39 kB / 274.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01983, allocations: 0 / 274.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002254/0.02006, allocations: 97.78 kB / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.02007, allocations: 4 kB / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.02008, allocations: 0 / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.02009, allocations: 0 / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.0202, allocations: 23.92 kB / 275 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.02021, allocations: 0 / 275 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.02028, allocations: 7.953 kB / 275 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.02028, allocations: 0 / 275 MB, free: 14.71 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.0001707/0.02046, allocations: 180.5 kB / 275.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.02056, allocations: 69.5 kB / 275.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.02085, allocations: 111.4 kB / 275.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.02085, allocations: 0 / 275.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.02086, allocations: 0 / 275.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.02086, allocations: 4 kB / 275.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.02115, allocations: 216.4 kB / 275.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.02115, allocations: 0 / 275.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.493e-05/0.02122, allocations: 15.98 kB / 275.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.02122, allocations: 4.062 kB / 275.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.02124, allocations: 11.94 kB / 275.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.02124, allocations: 0 / 275.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02124, allocations: 3.938 kB / 275.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.02157, allocations: 187.5 kB / 275.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.02166, allocations: 35.84 kB / 275.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.02169, allocations: 0 / 275.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-05/0.02176, allocations: 4 kB / 275.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.02181, allocations: 11.98 kB / 275.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.02184, allocations: 7.984 kB / 275.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002668/0.0221, allocations: 237.1 kB / 276.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0221, allocations: 4 kB / 276.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.02237, allocations: 39.92 kB / 276.1 MB, free: 13.5 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.002945/0.02531, allocations: 447.9 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.02554, allocations: 67.59 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.02555, allocations: 4 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.02564, allocations: 39.61 kB / 276.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.02609, allocations: 69.08 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.02673, allocations: 338 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.02689, allocations: 131.8 kB / 277.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.411e-05/0.02697, allocations: 37.39 kB / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.02703, allocations: 24.5 kB / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02703, allocations: 0 / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of Templates: time 0.007884/0.03492, allocations: 2.925 MB / 280.2 MB, free: 9.613 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.567864302080125]