Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001018/0.001018, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001049/0.001049, allocations: 145.1 kB / 24.54 MB, free: 28 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.033/1.033, allocations: 173.3 MB / 201.1 MB, free: 9.309 MB / 186.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 3.938 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.75e-05, allocations: 6.25 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003515/0.003542, allocations: 1.924 MB / 269.9 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.005406, allocations: 1.048 MB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.005534, allocations: 7.938 kB / 271 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000721/0.006255, allocations: 159.4 kB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.006565, allocations: 119.5 kB / 271.2 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.007055, allocations: 203.3 kB / 271.4 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.007254, allocations: 183.4 kB / 271.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.007359, allocations: 25.73 kB / 271.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.007468, allocations: 95.73 kB / 271.7 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.007562, allocations: 67.8 kB / 271.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.007585, allocations: 8 kB / 271.8 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.007689, allocations: 59.89 kB / 271.9 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.007749, allocations: 51.83 kB / 271.9 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.007798, allocations: 35.86 kB / 272 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.008023, allocations: 159.3 kB / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.008025, allocations: 0 / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.008026, allocations: 0 / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.008031, allocations: 4 kB / 272.1 MB, free: 2.254 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.0005418/0.008573, allocations: 0.5324 MB / 272.6 MB, free: 1.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.008608, allocations: 16.03 kB / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.008663, allocations: 20.84 kB / 272.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.008918, allocations: 228.3 kB / 272.9 MB, free: 1.391 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.008937, allocations: 8.359 kB / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.008953, allocations: 8.375 kB / 272.9 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.009203, allocations: 135.8 kB / 273.1 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.009215, allocations: 7.938 kB / 273.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.009224, allocations: 0 / 273.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.009231, allocations: 0 / 273.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.009281, allocations: 23.92 kB / 273.1 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.009654, allocations: 343.1 kB / 273.4 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.009791, allocations: 117.3 kB / 273.5 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.009833, allocations: 39.05 kB / 273.6 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.009856, allocations: 11.94 kB / 273.6 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.882e-05/0.009955, allocations: 69.05 kB / 273.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.009956, allocations: 0 / 273.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002292/0.01019, allocations: 113.7 kB / 273.8 MB, free: 404 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.01023, allocations: 110.7 kB / 273.9 MB, free: 268 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.01044, allocations: 284.3 kB / 274.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.01045, allocations: 33.7 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.01053, allocations: 162.9 kB / 274.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.01055, allocations: 12.17 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.01058, allocations: 43.34 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.01071, allocations: 0.5001 MB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.01073, allocations: 8.047 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.804e-05/0.01078, allocations: 68.77 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.943e-05/0.01083, allocations: 43.23 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01083, allocations: 0 / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.601e-05/0.01093, allocations: 81.55 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.01094, allocations: 6.969 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01095, allocations: 8.062 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01096, allocations: 0 / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.01102, allocations: 19.88 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01103, allocations: 3.984 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.01106, allocations: 4 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.01107, allocations: 4 kB / 275.1 MB, free: 14.91 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 7.378e-05/0.01114, allocations: 166.1 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.0112, allocations: 69.52 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.01132, allocations: 87.45 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01132, allocations: 8.062 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01133, allocations: 0 / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01133, allocations: 3.984 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.01145, allocations: 176.4 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01145, allocations: 0 / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.01147, allocations: 15.92 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01148, allocations: 0 / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.01149, allocations: 4 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01149, allocations: 4.062 kB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01149, allocations: 0 / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.01162, allocations: 167.6 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.01166, allocations: 31.84 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.01169, allocations: 8 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.989e-05/0.01172, allocations: 3.984 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.01175, allocations: 7.984 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01177, allocations: 4 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.01188, allocations: 201.1 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01188, allocations: 0 / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000159/0.01204, allocations: 27.94 kB / 276.1 MB, free: 13.86 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.0008707/0.01291, allocations: 395.5 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.01303, allocations: 47.66 kB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01303, allocations: 0 / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.01307, allocations: 43.58 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.01334, allocations: 68.3 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.01373, allocations: 298 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.855e-05/0.01378, allocations: 75.83 kB / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.491e-05/0.01382, allocations: 13.48 kB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.01386, allocations: 24.5 kB / 277 MB, free: 12.99 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01386, allocations: 4.188 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Templates: time 0.004383/0.01825, allocations: 2.528 MB / 279.6 MB, free: 10.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.955680652987212]