Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001298/0.001298, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001467/0.001467, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.437/1.437, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2484, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003172/0.2516, allocations: 1.6 MB / 433.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2526, allocations: 0.5025 MB / 434.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.2527, allocations: 7.938 kB / 434.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.524e-05/0.2527, allocations: 3.938 kB / 434.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.2529, allocations: 19.84 kB / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.2533, allocations: 59.77 kB / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.2534, allocations: 43.84 kB / 434.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2535, allocations: 12.19 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.2536, allocations: 35.84 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.2537, allocations: 23.86 kB / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.2537, allocations: 4 kB / 434.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.904e-05/0.2538, allocations: 11.94 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.2538, allocations: 15.92 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.2538, allocations: 27.8 kB / 434.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.254, allocations: 62.34 kB / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.254, allocations: 0 / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.254, allocations: 0 / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.254, allocations: 0 / 434.8 MB, free: 4.273 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.0005108/0.2545, allocations: 309.9 kB / 435.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2546, allocations: 12.03 kB / 435.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.2547, allocations: 20.88 kB / 435.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.255, allocations: 138.9 kB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-06/0.255, allocations: 384 / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.255, allocations: 11.92 kB / 435.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.2553, allocations: 121.8 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2553, allocations: 0 / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.2554, allocations: 4 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2554, allocations: 3.938 kB / 435.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.263e-05/0.2554, allocations: 19.98 kB / 435.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.2558, allocations: 234.1 kB / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.2559, allocations: 67.78 kB / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.256, allocations: 26.64 kB / 435.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.256, allocations: 7.984 kB / 435.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.256, allocations: 30.56 kB / 435.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.256, allocations: 4 kB / 435.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003005/0.2563, allocations: 89.5 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/0.2564, allocations: 106.8 kB / 435.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.2566, allocations: 153 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2566, allocations: 25.7 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.2567, allocations: 84.14 kB / 436.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.2567, allocations: 4 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.2567, allocations: 26.03 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2569, allocations: 322.8 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.914e-05/0.2569, allocations: 11.98 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.257, allocations: 35.42 kB / 436.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.9e-05/0.2571, allocations: 43.36 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2571, allocations: 4 kB / 436.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001548/0.2572, allocations: 69.56 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2573, allocations: 8 kB / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2573, allocations: 0 / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2573, allocations: 0 / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.2574, allocations: 11.98 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2574, allocations: 4 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.2574, allocations: 3.938 kB / 436.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2574, allocations: 7.938 kB / 436.7 MB, free: 2.043 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.0001026/0.2575, allocations: 122 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2576, allocations: 57.55 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.2577, allocations: 15.95 kB / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2577, allocations: 0 / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2577, allocations: 0 / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2577, allocations: 0 / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.2578, allocations: 121.2 kB / 437 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2579, allocations: 3.984 kB / 437 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.2579, allocations: 11.94 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2579, allocations: 0 / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2579, allocations: 8.062 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2579, allocations: 0 / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2579, allocations: 3.938 kB / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.2581, allocations: 177.1 kB / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.2582, allocations: 19.88 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.2582, allocations: 4 kB / 437.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.2583, allocations: 3.984 kB / 437.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.2583, allocations: 4 kB / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2583, allocations: 4 kB / 437.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.743e-05/0.2584, allocations: 119.2 kB / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2584, allocations: 0 / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.2587, allocations: 4 kB / 437.4 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.0001003/0.2588, allocations: 99.19 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.2589, allocations: 31.98 kB / 437.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2589, allocations: 0 / 437.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.2589, allocations: 11.92 kB / 437.5 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.0003813/0.2593, allocations: 39.56 kB / 437.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.2597, allocations: 210.2 kB / 437.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.246e-05/0.2598, allocations: 79.27 kB / 437.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.2598, allocations: 11.42 kB / 437.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2598, allocations: 0 / 437.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of Templates: time 0.002505/0.2623, allocations: 0.8576 MB / 438.7 MB, free: 15.91 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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: 6.86333124700468]