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.001882/0.001882, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.002042/0.002042, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 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.432/1.432, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 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 0.001771/0.001771, allocations: 51.91 kB / 371.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2705, allocations: 52.17 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00362/0.2741, allocations: 1.87 MB / 425.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.2762, allocations: 1.095 MB / 426.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.2763, allocations: 7.938 kB / 426.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.2767, allocations: 59.67 kB / 426.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.277, allocations: 99.59 kB / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007929/0.2778, allocations: 264.9 kB / 427.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.2781, allocations: 171.5 kB / 427.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2782, allocations: 28.69 kB / 427.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.2783, allocations: 67.7 kB / 427.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.2784, allocations: 87.66 kB / 427.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.2785, allocations: 8 kB / 427.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.2786, allocations: 71.88 kB / 427.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.2787, allocations: 51.78 kB / 427.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.2788, allocations: 59.59 kB / 427.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.2792, allocations: 234.8 kB / 427.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2792, allocations: 4 kB / 428 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2792, allocations: 0 / 428 MB, free: 10.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2792, allocations: 3.938 kB / 428 MB, free: 10.36 MB / 334.1 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.0007518/0.2799, allocations: 469.7 kB / 428.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.28, allocations: 12.03 kB / 428.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.28, allocations: 24.8 kB / 428.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.2805, allocations: 233.5 kB / 428.7 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2805, allocations: 8.375 kB / 428.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2805, allocations: 12.06 kB / 428.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.2809, allocations: 172.4 kB / 428.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2809, allocations: 4 kB / 428.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2809, allocations: 0 / 428.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.2809, allocations: 8 kB / 428.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.281, allocations: 39.91 kB / 428.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.2815, allocations: 314.1 kB / 429.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.2818, allocations: 115.9 kB / 429.3 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.792e-05/0.2819, allocations: 50.48 kB / 429.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.2819, allocations: 4 kB / 429.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.2821, allocations: 83.36 kB / 429.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2821, allocations: 0 / 429.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004301/0.2825, allocations: 161.4 kB / 429.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.2826, allocations: 132.5 kB / 429.8 MB, free: 8.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.283, allocations: 329.8 kB / 430.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.283, allocations: 25.7 kB / 430.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.2831, allocations: 132.1 kB / 430.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.2831, allocations: 20.14 kB / 430.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.2832, allocations: 29.67 kB / 430.3 MB, free: 7.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2833, allocations: 338.8 kB / 430.6 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.2834, allocations: 23.98 kB / 430.6 MB, free: 7.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.2835, allocations: 133.4 kB / 430.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.2837, allocations: 88.22 kB / 430.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2837, allocations: 0 / 430.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002366/0.2839, allocations: 125.5 kB / 431 MB, free: 7.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.284, allocations: 11.94 kB / 431 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.284, allocations: 0 / 431 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.284, allocations: 4 kB / 431 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2841, allocations: 15.94 kB / 431 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2841, allocations: 7.984 kB / 431 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/0.2842, allocations: 11.95 kB / 431 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2842, allocations: 4.312 kB / 431 MB, free: 6.984 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001538/0.2843, allocations: 161.8 kB / 431.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.273e-05/0.2844, allocations: 73.48 kB / 431.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.2847, allocations: 127.4 kB / 431.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2847, allocations: 0 / 431.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2847, allocations: 0 / 431.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2847, allocations: 4 kB / 431.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.2849, allocations: 177.1 kB / 431.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2849, allocations: 4 kB / 431.6 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.285, allocations: 8.062 kB / 431.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.285, allocations: 8 kB / 431.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.285, allocations: 0 / 431.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.285, allocations: 3.984 kB / 431.6 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.285, allocations: 4 kB / 431.6 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.2853, allocations: 174.5 kB / 431.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.174e-05/0.2854, allocations: 35.84 kB / 431.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.2854, allocations: 0 / 431.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.2855, allocations: 11.98 kB / 431.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.2855, allocations: 7.984 kB / 431.8 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.2856, allocations: 8 kB / 431.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.2858, allocations: 241.2 kB / 432.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2858, allocations: 96 / 432.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.2861, allocations: 39.88 kB / 432.1 MB, free: 5.836 MB / 334.1 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.001671/0.2877, allocations: 456.5 kB / 432.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.288, allocations: 75.83 kB / 432.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.288, allocations: 0 / 432.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/0.2881, allocations: 36.23 kB / 432.7 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.2885, allocations: 69.34 kB / 432.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000662/0.2892, allocations: 398.5 kB / 433.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2893, allocations: 131.9 kB / 433.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.2893, allocations: 23.44 kB / 433.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2893, allocations: 4.188 kB / 433.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of Templates: time 0.005343/0.2947, allocations: 2.934 MB / 436.2 MB, free: 1.863 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/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: 7.4505397928878665]