Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.001315/0.001315, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001518/0.001518, allocations: 203.9 kB / 23.73 MB, free: 4.379 MB / 14.72 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 51.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2803, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003368/0.2836, allocations: 1.88 MB / 433.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2859, allocations: 1.227 MB / 434.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.2861, allocations: 7.938 kB / 434.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.2864, allocations: 71.66 kB / 434.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.2868, allocations: 131.4 kB / 434.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.2875, allocations: 234.9 kB / 435.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.2878, allocations: 187.5 kB / 435.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.288, allocations: 17.73 kB / 435.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2881, allocations: 75.69 kB / 435.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.2882, allocations: 83.67 kB / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.2883, allocations: 8 kB / 435.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.2884, allocations: 87.81 kB / 435.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2885, allocations: 43.84 kB / 435.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.654e-05/0.2886, allocations: 59.59 kB / 435.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.289, allocations: 245.2 kB / 435.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.289, allocations: 0 / 435.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.289, allocations: 4 kB / 435.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.2891, allocations: 0 / 435.9 MB, free: 2.367 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.0008513/0.2899, allocations: 482.4 kB / 436.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2899, allocations: 12.03 kB / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.29, allocations: 20.8 kB / 436.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.2905, allocations: 233.5 kB / 436.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2905, allocations: 4.375 kB / 436.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.2905, allocations: 12.12 kB / 436.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.291, allocations: 180.4 kB / 436.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.291, allocations: 0 / 436.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.291, allocations: 4 kB / 436.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.291, allocations: 3.938 kB / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.2912, allocations: 39.91 kB / 436.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.2917, allocations: 318.1 kB / 437.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.2919, allocations: 119.9 kB / 437.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/0.292, allocations: 50.5 kB / 437.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.2921, allocations: 3.938 kB / 437.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.2922, allocations: 83.38 kB / 437.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2922, allocations: 0 / 437.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004132/0.2927, allocations: 153.4 kB / 437.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/0.2928, allocations: 140.7 kB / 437.7 MB, free: 340 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.2931, allocations: 342 kB / 438.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.2932, allocations: 29.7 kB / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.2933, allocations: 128.1 kB / 438.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.2933, allocations: 23.75 kB / 438.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.916e-05/0.2934, allocations: 29.7 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.2937, allocations: 342.8 kB / 438.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.2938, allocations: 27.98 kB / 438.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.2939, allocations: 129.4 kB / 438.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.2941, allocations: 88.25 kB / 438.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2941, allocations: 0 / 438.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002583/0.2943, allocations: 129.4 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2944, allocations: 4 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.2944, allocations: 7.984 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2944, allocations: 0 / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.2945, allocations: 19.94 kB / 439 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2945, allocations: 4.125 kB / 439 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.49e-05/0.2946, allocations: 7.984 kB / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2946, allocations: 4 kB / 439 MB, free: 14.96 MB / 350.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.000158/0.2948, allocations: 158.5 kB / 439.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2949, allocations: 77.38 kB / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.2952, allocations: 123.4 kB / 439.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2952, allocations: 4.312 kB / 439.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2952, allocations: 3.984 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.2952, allocations: 4.062 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.2954, allocations: 185.1 kB / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2954, allocations: 4 kB / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.33e-05/0.2955, allocations: 11.94 kB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2955, allocations: 4 kB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2955, allocations: 0 / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.2955, allocations: 3.984 kB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.2955, allocations: 4 kB / 439.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.2958, allocations: 182.5 kB / 439.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-05/0.2959, allocations: 31.84 kB / 439.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.296, allocations: 12 kB / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.2961, allocations: 3.984 kB / 439.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.2961, allocations: 11.98 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.2961, allocations: 4 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002924/0.2964, allocations: 245.2 kB / 440.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2964, allocations: 0 / 440.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.2967, allocations: 39.92 kB / 440.1 MB, free: 13.79 MB / 350.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.001824/0.2986, allocations: 460.1 kB / 440.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.2989, allocations: 79.84 kB / 440.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.2989, allocations: 4 kB / 440.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.664e-05/0.299, allocations: 27.97 kB / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.2995, allocations: 63.48 kB / 440.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/0.3003, allocations: 372.9 kB / 441.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.3004, allocations: 136.3 kB / 441.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.463e-05/0.3005, allocations: 25.62 kB / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.3006, allocations: 23.42 kB / 441.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3006, allocations: 0 / 441.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of Templates: time 0.008021/0.3086, allocations: 3.132 MB / 444.4 MB, free: 9.652 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.70094078220427]