Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001454/0.001454, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001239/0.001239, allocations: 145.7 kB / 24.89 MB, free: 8.742 MB / 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 0.9725/0.9725, allocations: 173.4 MB / 201.5 MB, free: 8.277 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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 268.5 MB, free: 9.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.749e-05, allocations: 5.406 kB / 268.5 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002542/0.00257, allocations: 1.677 MB / 270.2 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007603/0.00333, allocations: 0.4918 MB / 270.7 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.003413, allocations: 0 / 270.7 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/0.003461, allocations: 9.031 kB / 270.7 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.003601, allocations: 11.92 kB / 270.7 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.003836, allocations: 60.97 kB / 270.8 MB, free: 7.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.55e-05/0.003931, allocations: 43.8 kB / 270.8 MB, free: 7.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.215e-05/0.004014, allocations: 12.17 kB / 270.8 MB, free: 7.445 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.004101, allocations: 27.95 kB / 270.9 MB, free: 7.418 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.004176, allocations: 20.73 kB / 270.9 MB, free: 7.398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.004193, allocations: 7.938 kB / 270.9 MB, free: 7.391 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.004202, allocations: 0.9062 kB / 270.9 MB, free: 7.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.483e-05/0.004237, allocations: 11.94 kB / 270.9 MB, free: 7.379 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.004259, allocations: 24.41 kB / 270.9 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.929e-05/0.004348, allocations: 32.56 kB / 271 MB, free: 7.324 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.00435, allocations: 0 / 271 MB, free: 7.324 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.004352, allocations: 5.922 kB / 271 MB, free: 7.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004356, allocations: 0 / 271 MB, free: 7.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002764/0.004632, allocations: 276.6 kB / 271.2 MB, free: 7.027 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.004661, allocations: 8.031 kB / 271.2 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.004686, allocations: 4.938 kB / 271.2 MB, free: 7.016 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.004821, allocations: 143.4 kB / 271.4 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.004828, allocations: 8.359 kB / 271.4 MB, free: 6.844 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.004836, allocations: 4.375 kB / 271.4 MB, free: 6.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.004982, allocations: 116.3 kB / 271.5 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004989, allocations: 0.7812 kB / 271.5 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.004996, allocations: 4.125 kB / 271.5 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.005002, allocations: 4.5 kB / 271.5 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.005018, allocations: 11.94 kB / 271.5 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.005184, allocations: 162 kB / 271.7 MB, free: 6.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.327e-05/0.005238, allocations: 55.73 kB / 271.7 MB, free: 6.422 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.005261, allocations: 26.69 kB / 271.8 MB, free: 6.387 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.005275, allocations: 4 kB / 271.8 MB, free: 6.383 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.005294, allocations: 30.56 kB / 271.8 MB, free: 6.344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.005295, allocations: 0 / 271.8 MB, free: 6.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001134/0.005409, allocations: 65.5 kB / 271.9 MB, free: 6.273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.005454, allocations: 106.8 kB / 272 MB, free: 6.145 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.005527, allocations: 141.7 kB / 272.1 MB, free: 5.996 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.005537, allocations: 29.7 kB / 272.1 MB, free: 5.961 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.005564, allocations: 80.14 kB / 272.2 MB, free: 5.879 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.005579, allocations: 11.94 kB / 272.2 MB, free: 5.867 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.0056, allocations: 13.72 kB / 272.2 MB, free: 5.848 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.005675, allocations: 318.8 kB / 272.6 MB, free: 5.527 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.662e-06/0.005682, allocations: 0 / 272.6 MB, free: 5.527 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.005689, allocations: 8.312 kB / 272.6 MB, free: 5.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.961e-05/0.005709, allocations: 8.859 kB / 272.6 MB, free: 5.508 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005711, allocations: 0 / 272.6 MB, free: 5.508 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.684e-05/0.005747, allocations: 33.69 kB / 272.6 MB, free: 5.469 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.005758, allocations: 8 kB / 272.6 MB, free: 5.461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005763, allocations: 3.938 kB / 272.6 MB, free: 5.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.005773, allocations: 0 / 272.6 MB, free: 5.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.005822, allocations: 4 kB / 272.6 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.005825, allocations: 0 / 272.6 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.005838, allocations: 0 / 272.6 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.005844, allocations: 8.078 kB / 272.6 MB, free: 5.445 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.289e-05/0.005897, allocations: 116.7 kB / 272.7 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.005934, allocations: 45.62 kB / 272.8 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.005961, allocations: 15.86 kB / 272.8 MB, free: 5.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005962, allocations: 0 / 272.8 MB, free: 5.25 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.005965, allocations: 4 kB / 272.8 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.005968, allocations: 7.938 kB / 272.8 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.979e-05/0.006058, allocations: 73.89 kB / 272.9 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006059, allocations: 0 / 272.9 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.006087, allocations: 19.98 kB / 272.9 MB, free: 5.129 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.006089, allocations: 0 / 272.9 MB, free: 5.129 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.006093, allocations: 0 / 272.9 MB, free: 5.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.006094, allocations: 4 kB / 272.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.006095, allocations: 3.938 kB / 272.9 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.72e-05/0.006162, allocations: 149.3 kB / 273.1 MB, free: 4.953 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.006185, allocations: 7.953 kB / 273.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.006196, allocations: 11.98 kB / 273.1 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.051e-05/0.006227, allocations: 0 / 273.1 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.006248, allocations: 3.938 kB / 273.1 MB, free: 4.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.006251, allocations: 8.031 kB / 273.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.019e-05/0.006272, allocations: 28.77 kB / 273.1 MB, free: 4.891 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006272, allocations: 0 / 273.1 MB, free: 4.891 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001106/0.006382, allocations: 4 kB / 273.1 MB, free: 4.887 MB / 250.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 5.807e-05/0.00644, allocations: 84.41 kB / 273.2 MB, free: 4.797 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.882e-05/0.006489, allocations: 16.84 kB / 273.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.006491, allocations: 0 / 273.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/0.006503, allocations: 12.8 kB / 273.2 MB, free: 4.762 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.006716, allocations: 31.08 kB / 273.3 MB, free: 4.734 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.00707, allocations: 183.8 kB / 273.4 MB, free: 4.523 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.007106, allocations: 63.28 kB / 273.5 MB, free: 4.441 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.938e-05/0.007125, allocations: 7.906 kB / 273.5 MB, free: 4.434 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.00718, allocations: 63.36 kB / 273.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00718, allocations: 0 / 273.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of Templates: time 0.002156/0.009336, allocations: 0.6513 MB / 274.2 MB, free: 3.738 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.503320835996419]