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.002024/0.002024, allocations: 103.5 kB / 20.43 MB, free: 1.199 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.001622/0.001622, allocations: 194.2 kB / 23.71 MB, free: 4.426 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.626/1.626, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.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 0.001647/0.001647, allocations: 47.92 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2613, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.00309/0.2644, allocations: 1.597 MB / 424.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2655, allocations: 474.8 kB / 425.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.777e-05/0.2656, allocations: 3.938 kB / 425.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.31e-05/0.2656, allocations: 3.938 kB / 425.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.2658, allocations: 15.86 kB / 425.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.2661, allocations: 59.81 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2662, allocations: 39.86 kB / 425.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2663, allocations: 16.17 kB / 425.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.416e-05/0.2664, allocations: 27.84 kB / 425.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.2664, allocations: 15.92 kB / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2664, allocations: 4 kB / 425.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.2665, allocations: 7.938 kB / 425.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.2665, allocations: 8 kB / 425.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.2665, allocations: 23.8 kB / 425.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2667, allocations: 57.94 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2667, allocations: 4 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2667, allocations: 0 / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.2667, allocations: 0 / 425.4 MB, free: 12.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005363/0.2672, allocations: 313 kB / 425.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2673, allocations: 12.03 kB / 425.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.2673, allocations: 8.891 kB / 425.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.2676, allocations: 150.3 kB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2676, allocations: 384 / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2676, allocations: 4.375 kB / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.2679, allocations: 118 kB / 426 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2679, allocations: 3.938 kB / 426 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.2679, allocations: 4 kB / 426 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2679, allocations: 0 / 426 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.268, allocations: 19.98 kB / 426 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.2683, allocations: 218.3 kB / 426.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.2685, allocations: 71.72 kB / 426.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.412e-05/0.2685, allocations: 30.62 kB / 426.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.2686, allocations: 4 kB / 426.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.2686, allocations: 38.56 kB / 426.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2686, allocations: 0 / 426.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002678/0.2689, allocations: 81.56 kB / 426.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/0.269, allocations: 110.8 kB / 426.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.2691, allocations: 137.8 kB / 426.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.2691, allocations: 29.7 kB / 426.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.2692, allocations: 92.08 kB / 426.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.2692, allocations: 8.266 kB / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.2692, allocations: 25.7 kB / 426.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2694, allocations: 318.8 kB / 427.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.16e-05/0.2694, allocations: 7.984 kB / 427.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.455e-05/0.2695, allocations: 35.42 kB / 427.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.652e-05/0.2696, allocations: 47.36 kB / 427.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2696, allocations: 3.938 kB / 427.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.2697, allocations: 77.52 kB / 427.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2698, allocations: 4 kB / 427.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2698, allocations: 4 kB / 427.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2698, allocations: 0 / 427.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.2699, allocations: 11.98 kB / 427.4 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2699, allocations: 0 / 427.4 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.2699, allocations: 7.938 kB / 427.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.2699, allocations: 0 / 427.4 MB, free: 9.902 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001252/0.27, allocations: 129.9 kB / 427.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.2701, allocations: 49.59 kB / 427.5 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.2702, allocations: 15.95 kB / 427.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2702, allocations: 0 / 427.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.2702, allocations: 8 kB / 427.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2702, allocations: 0 / 427.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.2704, allocations: 117.2 kB / 427.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2704, allocations: 0 / 427.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.2704, allocations: 11.98 kB / 427.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2704, allocations: 4.062 kB / 427.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2704, allocations: 4 kB / 427.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2704, allocations: 0 / 427.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2704, allocations: 4 kB / 427.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.2706, allocations: 181.2 kB / 427.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.2707, allocations: 19.94 kB / 427.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2707, allocations: 0 / 427.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.2708, allocations: 4 kB / 427.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.2708, allocations: 3.984 kB / 427.9 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.2708, allocations: 4 kB / 427.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.217e-05/0.2709, allocations: 117.8 kB / 428 MB, free: 9.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2709, allocations: 0 / 428 MB, free: 9.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.2711, allocations: 11.94 kB / 428 MB, free: 9.16 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: 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 0.0001166/0.2712, allocations: 91.25 kB / 428.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.2714, allocations: 35.92 kB / 428.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2714, allocations: 0 / 428.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.2714, allocations: 16.17 kB / 428.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.2718, allocations: 35.95 kB / 428.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.2722, allocations: 172.8 kB / 428.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.159e-05/0.2723, allocations: 83.12 kB / 428.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.209e-05/0.2723, allocations: 4 kB / 428.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.2723, allocations: 11.44 kB / 428.5 MB, free: 8.656 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2723, allocations: 192 / 428.5 MB, free: 8.656 MB / 334.1 MB Notification: Performance of Templates: time 0.003094/0.2754, allocations: 0.6714 MB / 429.1 MB, free: 8.004 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.662164015695453]