Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.001606/0.001606, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001814/0.001814, allocations: 209 kB / 24.48 MB, free: 3.938 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.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2425, allocations: 53.36 MB / 432.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003119/0.2456, allocations: 1.629 MB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2467, allocations: 0.5259 MB / 434.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.372e-05/0.2468, allocations: 0 / 434.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.426e-05/0.2469, allocations: 7.875 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.247, allocations: 19.84 kB / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.2473, allocations: 63.81 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.2475, allocations: 63.72 kB / 434.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2476, allocations: 19.97 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.2477, allocations: 27.92 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.2478, allocations: 27.8 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.2478, allocations: 8 kB / 434.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-05/0.2479, allocations: 15.92 kB / 434.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.2479, allocations: 19.92 kB / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.248, allocations: 27.8 kB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.2481, allocations: 78.33 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2481, allocations: 0 / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2481, allocations: 0 / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.2481, allocations: 0 / 434.9 MB, free: 4.137 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005409/0.2487, allocations: 317.8 kB / 435.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2487, allocations: 12.03 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.2489, allocations: 28.88 kB / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.2492, allocations: 154.2 kB / 435.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.2492, allocations: 4.375 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.2493, allocations: 8.312 kB / 435.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.2496, allocations: 126.2 kB / 435.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2496, allocations: 4 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2496, allocations: 4 kB / 435.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.2496, allocations: 7.984 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.2498, allocations: 35.97 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.2502, allocations: 317.5 kB / 435.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.2504, allocations: 87.72 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.692e-05/0.2505, allocations: 38.62 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.2505, allocations: 4 kB / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2505, allocations: 34.55 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.2505, allocations: 0 / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003903/0.2509, allocations: 129.4 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.251, allocations: 102.8 kB / 436.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.2511, allocations: 154.6 kB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2512, allocations: 29.7 kB / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.2512, allocations: 100.1 kB / 436.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.2513, allocations: 7.953 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.2513, allocations: 13.72 kB / 436.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2515, allocations: 322.8 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.3e-05/0.2515, allocations: 19.98 kB / 436.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.2516, allocations: 39.42 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.2518, allocations: 67.34 kB / 437 MB, free: 1.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2518, allocations: 3.938 kB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002084/0.252, allocations: 89.48 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.252, allocations: 8 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.252, allocations: 128 / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.252, allocations: 8 kB / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.2521, allocations: 15.98 kB / 437.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2521, allocations: 3.984 kB / 437.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.854e-05/0.2522, allocations: 7.984 kB / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.2522, allocations: 0 / 437.1 MB, free: 1.625 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.0001025/0.2523, allocations: 125.8 kB / 437.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.2524, allocations: 57.55 kB / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.2524, allocations: 23.84 kB / 437.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.2525, allocations: 4 kB / 437.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2525, allocations: 4.031 kB / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2525, allocations: 0 / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.2527, allocations: 129.2 kB / 437.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2527, allocations: 0 / 437.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.2527, allocations: 11.98 kB / 437.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2527, allocations: 0 / 437.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.2528, allocations: 0 / 437.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2528, allocations: 0 / 437.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.2528, allocations: 4 kB / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.2531, allocations: 275.5 kB / 437.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.2531, allocations: 19.94 kB / 437.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.2532, allocations: 0 / 437.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.2533, allocations: 11.92 kB / 437.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.2533, allocations: 0 / 437.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2533, allocations: 4 kB / 437.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.484e-05/0.2534, allocations: 120.1 kB / 437.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2534, allocations: 0 / 437.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.2537, allocations: 8 kB / 437.9 MB, free: 0.7734 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001145/0.2538, allocations: 111.2 kB / 438 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.254, allocations: 47.91 kB / 438.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.254, allocations: 0 / 438.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.2541, allocations: 23.92 kB / 438.1 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.2545, allocations: 27.94 kB / 438.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.255, allocations: 247.2 kB / 438.4 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.2551, allocations: 84.98 kB / 438.4 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.2552, allocations: 7.438 kB / 438.4 MB, free: 168 kB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2552, allocations: 0 / 438.4 MB, free: 168 kB / 334.1 MB Notification: Performance of Templates: time 0.002907/0.2581, allocations: 1.008 MB / 439.4 MB, free: 15.16 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.92363002570346]