Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001403/0.001403, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001557/0.001557, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 48.06 kB / 378.2 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2504, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003083/0.2535, allocations: 1.598 MB / 433.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2547, allocations: 0.5298 MB / 433.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.2548, allocations: 7.938 kB / 433.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.776e-05/0.2548, allocations: 3.938 kB / 433.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.255, allocations: 11.86 kB / 433.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.2553, allocations: 71.8 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.2554, allocations: 43.86 kB / 433.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.2555, allocations: 12.17 kB / 433.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.2556, allocations: 35.78 kB / 433.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.2557, allocations: 19.86 kB / 433.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2557, allocations: 4 kB / 433.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.2557, allocations: 8 kB / 433.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.2558, allocations: 15.92 kB / 433.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.2558, allocations: 19.88 kB / 434 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.256, allocations: 64.94 kB / 434 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.256, allocations: 0 / 434 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.256, allocations: 0 / 434 MB, free: 4.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.256, allocations: 0 / 434 MB, free: 4.277 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.0004826/0.2565, allocations: 302 kB / 434.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2565, allocations: 8.031 kB / 434.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.2566, allocations: 24.81 kB / 434.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.2569, allocations: 150.8 kB / 434.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2569, allocations: 8.375 kB / 434.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2569, allocations: 7.938 kB / 434.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.2572, allocations: 109.9 kB / 434.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2572, allocations: 3.938 kB / 434.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2572, allocations: 4 kB / 434.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2572, allocations: 0 / 434.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.522e-05/0.2573, allocations: 23.92 kB / 434.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.2576, allocations: 222.3 kB / 434.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2578, allocations: 67.78 kB / 434.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/0.2579, allocations: 34.62 kB / 435 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.2579, allocations: 4 kB / 435 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.2579, allocations: 34.5 kB / 435 MB, free: 3.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2579, allocations: 0 / 435 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002835/0.2582, allocations: 93.83 kB / 435.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/0.2583, allocations: 110.8 kB / 435.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.2585, allocations: 144.8 kB / 435.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.2585, allocations: 25.7 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.2586, allocations: 92.12 kB / 435.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.2586, allocations: 4 kB / 435.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.2586, allocations: 21.67 kB / 435.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2588, allocations: 318.8 kB / 435.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.2588, allocations: 12 kB / 435.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.2589, allocations: 39.42 kB / 435.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.873e-05/0.259, allocations: 47.36 kB / 435.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.259, allocations: 0 / 435.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001354/0.2591, allocations: 65.61 kB / 436 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2591, allocations: 8 kB / 436 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2591, allocations: 4.125 kB / 436 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2592, allocations: 0 / 436 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/0.2592, allocations: 8 kB / 436 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.2592, allocations: 7.984 kB / 436 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.011e-05/0.2593, allocations: 4 kB / 436 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2593, allocations: 7.938 kB / 436 MB, free: 2.051 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 9.99e-05/0.2594, allocations: 117.8 kB / 436.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/0.2595, allocations: 57.59 kB / 436.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.2595, allocations: 11.97 kB / 436.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2595, allocations: 4.062 kB / 436.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2595, allocations: 0 / 436.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2595, allocations: 8.062 kB / 436.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.2597, allocations: 121.2 kB / 436.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2597, allocations: 3.938 kB / 436.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.2597, allocations: 15.92 kB / 436.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2597, allocations: 0 / 436.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2598, allocations: 8 kB / 436.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.2598, allocations: 0 / 436.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2598, allocations: 0 / 436.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.26, allocations: 181.1 kB / 436.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.26, allocations: 23.86 kB / 436.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.26, allocations: 4 kB / 436.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.2601, allocations: 0 / 436.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.2601, allocations: 7.938 kB / 436.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2602, allocations: 0 / 436.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.868e-05/0.2602, allocations: 119.2 kB / 436.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2602, allocations: 0 / 436.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.2605, allocations: 4 kB / 436.7 MB, free: 1.305 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.0001075/0.2606, allocations: 103.2 kB / 436.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.2607, allocations: 31.92 kB / 436.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2607, allocations: 0 / 436.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/0.2608, allocations: 8 kB / 436.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2611, allocations: 32.61 kB / 436.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.2615, allocations: 193 kB / 437 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.856e-05/0.2616, allocations: 79.27 kB / 437.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.124e-05/0.2616, allocations: 4 kB / 437.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.2616, allocations: 11.44 kB / 437.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2616, allocations: 0 / 437.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of Templates: time 0.003079/0.2647, allocations: 0.6677 MB / 437.8 MB, free: 144 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.558365825563669]