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.001418/0.001418, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001904/0.001904, allocations: 149.4 kB / 24.26 MB, free: 184 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.469/1.469, allocations: 173.4 MB / 200.8 MB, free: 9.297 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 1.633e-06/1.633e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.203e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.0039/0.003932, allocations: 1.862 MB / 269.2 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.006168, allocations: 1.098 MB / 270.3 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.006283, allocations: 7.938 kB / 270.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.00663, allocations: 67.59 kB / 270.3 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.006965, allocations: 103.5 kB / 270.4 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.007811, allocations: 255 kB / 270.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.008118, allocations: 175.5 kB / 270.9 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.008226, allocations: 17.8 kB / 270.9 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.008477, allocations: 103.7 kB / 271 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.008624, allocations: 67.86 kB / 271.1 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.008656, allocations: 15.94 kB / 271.1 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.008849, allocations: 71.88 kB / 271.1 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.213e-05/0.008942, allocations: 47.83 kB / 271.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.009021, allocations: 39.86 kB / 271.2 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.009415, allocations: 235.2 kB / 271.5 MB, free: 2.555 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.009417, allocations: 0 / 271.5 MB, free: 2.555 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009418, allocations: 0 / 271.5 MB, free: 2.555 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.009424, allocations: 0 / 271.5 MB, free: 2.555 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.0007901/0.01021, allocations: 478.4 kB / 271.9 MB, free: 2.051 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.01025, allocations: 8.031 kB / 271.9 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.844e-05/0.01034, allocations: 36.8 kB / 272 MB, free: 2.008 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.01078, allocations: 224.8 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.0108, allocations: 8.375 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.01082, allocations: 4.375 kB / 272.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.01122, allocations: 184.7 kB / 272.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.01124, allocations: 11.92 kB / 272.4 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.01126, allocations: 8 kB / 272.4 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.01126, allocations: 0 / 272.4 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.01139, allocations: 35.97 kB / 272.4 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.01193, allocations: 318.1 kB / 272.7 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.01221, allocations: 119.8 kB / 272.9 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.01231, allocations: 46.55 kB / 272.9 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.01233, allocations: 0 / 272.9 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.01253, allocations: 87.31 kB / 273 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.01253, allocations: 0 / 273 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004465/0.01298, allocations: 157.4 kB / 273.1 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.01308, allocations: 136.5 kB / 273.3 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.01347, allocations: 329.8 kB / 273.6 MB, free: 192 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.0135, allocations: 33.7 kB / 273.6 MB, free: 152 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.01361, allocations: 124.1 kB / 273.8 MB, free: 24 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.01364, allocations: 19.89 kB / 273.8 MB, free: 4 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.673e-05/0.01372, allocations: 29.97 kB / 273.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.0139, allocations: 334.8 kB / 274.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.01397, allocations: 19.98 kB / 274.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.01412, allocations: 110.8 kB / 274.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.01427, allocations: 65.89 kB / 274.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01427, allocations: 0 / 274.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003171/0.01458, allocations: 109.5 kB / 274.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.0146, allocations: 7.984 kB / 274.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.0146, allocations: 0 / 274.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.01462, allocations: 4.062 kB / 274.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.01471, allocations: 12 kB / 274.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.01472, allocations: 3.938 kB / 274.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.961e-05/0.0148, allocations: 15.94 kB / 274.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.01481, allocations: 4 kB / 274.5 MB, free: 15.25 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.0001504/0.01496, allocations: 145.8 kB / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.01507, allocations: 73.48 kB / 274.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.01538, allocations: 127.5 kB / 274.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01538, allocations: 4.062 kB / 274.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01539, allocations: 0 / 274.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01539, allocations: 4 kB / 274.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.01561, allocations: 173.1 kB / 275 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.01561, allocations: 4 kB / 275 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.01568, allocations: 11.98 kB / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.01569, allocations: 4 kB / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.0157, allocations: 0 / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.0157, allocations: 3.938 kB / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01571, allocations: 7.938 kB / 275 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.01603, allocations: 178.5 kB / 275.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.01612, allocations: 39.83 kB / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.01616, allocations: 4 kB / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.01623, allocations: 8.062 kB / 275.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.01628, allocations: 11.98 kB / 275.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.01631, allocations: 7.984 kB / 275.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000287/0.01659, allocations: 241.2 kB / 275.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01659, allocations: 0 / 275.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002701/0.01686, allocations: 31.94 kB / 275.5 MB, free: 14.11 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.001957/0.01882, allocations: 455.3 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.01906, allocations: 67.91 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01906, allocations: 0 / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/0.01915, allocations: 27.92 kB / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.01959, allocations: 80.36 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.02027, allocations: 370.7 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.02042, allocations: 132.2 kB / 276.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.399e-05/0.0205, allocations: 29.56 kB / 276.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.02056, allocations: 32.42 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.02056, allocations: 0 / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of Templates: time 0.007411/0.02797, allocations: 2.929 MB / 279.6 MB, free: 10.18 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=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/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.36300695000682]