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.001467/0.001467, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001724/0.001724, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.595/1.595, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001618/0.001618, allocations: 47.92 kB / 378.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4206, allocations: 53.37 MB / 431.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003176/0.4238, allocations: 1.646 MB / 433.3 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.4249, allocations: 0.5726 MB / 433.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.739e-05/0.4249, allocations: 0 / 433.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.4251, allocations: 7.875 kB / 433.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.4252, allocations: 15.86 kB / 433.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.4255, allocations: 67.8 kB / 433.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.4256, allocations: 63.72 kB / 434 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.4258, allocations: 15.98 kB / 434 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.4259, allocations: 39.84 kB / 434.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.426, allocations: 27.86 kB / 434.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.426, allocations: 4 kB / 434.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.474e-05/0.4261, allocations: 8 kB / 434.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.4261, allocations: 19.86 kB / 434.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.4262, allocations: 35.8 kB / 434.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.4263, allocations: 77.84 kB / 434.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4263, allocations: 0 / 434.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4263, allocations: 0 / 434.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.4263, allocations: 4 kB / 434.2 MB, free: 4.301 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.0005446/0.4269, allocations: 325.8 kB / 434.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4269, allocations: 8.031 kB / 434.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.4272, allocations: 24.88 kB / 434.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.4275, allocations: 154.2 kB / 434.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4275, allocations: 8.375 kB / 434.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.4275, allocations: 4.375 kB / 434.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.4278, allocations: 138.1 kB / 434.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4278, allocations: 4 kB / 434.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4278, allocations: 4 kB / 434.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.4279, allocations: 7.938 kB / 434.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.428, allocations: 43.95 kB / 434.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.4285, allocations: 344.9 kB / 435.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.4286, allocations: 83.78 kB / 435.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.4287, allocations: 34.62 kB / 435.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.4287, allocations: 0 / 435.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.4288, allocations: 42.55 kB / 435.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4288, allocations: 7.938 kB / 435.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003704/0.4291, allocations: 113.5 kB / 435.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.4292, allocations: 102.8 kB / 435.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.4294, allocations: 150.2 kB / 435.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.4294, allocations: 26.08 kB / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.4295, allocations: 108 kB / 435.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.4295, allocations: 7.953 kB / 435.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.4296, allocations: 17.72 kB / 436 MB, free: 2.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.4297, allocations: 322.8 kB / 436.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.4298, allocations: 19.98 kB / 436.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-05/0.4299, allocations: 47.36 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.43, allocations: 55.41 kB / 436.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.43, allocations: 3.984 kB / 436.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001954/0.4302, allocations: 93.5 kB / 436.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4303, allocations: 11.12 kB / 436.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4303, allocations: 0 / 436.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4303, allocations: 3.984 kB / 436.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.4304, allocations: 12 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4304, allocations: 0 / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.4304, allocations: 7.984 kB / 436.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4304, allocations: 0 / 436.5 MB, free: 1.75 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.0001044/0.4306, allocations: 129.9 kB / 436.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.4307, allocations: 53.59 kB / 436.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.4307, allocations: 15.91 kB / 436.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.4307, allocations: 8 kB / 436.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4307, allocations: 0 / 436.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4307, allocations: 0 / 436.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.431, allocations: 160.6 kB / 436.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.431, allocations: 0 / 436.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.107e-05/0.431, allocations: 19.86 kB / 436.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.431, allocations: 4.031 kB / 436.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.431, allocations: 0 / 436.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.431, allocations: 4 kB / 436.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.431, allocations: 0 / 436.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.4314, allocations: 275.5 kB / 437.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.4314, allocations: 15.94 kB / 437.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.4314, allocations: 4 kB / 437.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.4315, allocations: 7.984 kB / 437.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.4316, allocations: 8 kB / 437.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4316, allocations: 144 / 437.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.4317, allocations: 120.1 kB / 437.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4317, allocations: 0 / 437.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.432, allocations: 8 kB / 437.3 MB, free: 0.8516 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.0001071/0.4321, allocations: 107.2 kB / 437.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.4323, allocations: 55.83 kB / 437.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4323, allocations: 4 kB / 437.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.4324, allocations: 19.91 kB / 437.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.4328, allocations: 24.39 kB / 437.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.4332, allocations: 209.1 kB / 437.7 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.4336, allocations: 0.6963 MB / 438.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.184e-05/0.4337, allocations: 8 kB / 438.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.4337, allocations: 15.42 kB / 438.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4337, allocations: 0 / 438.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of Templates: time 0.003638/0.4373, allocations: 0.7392 MB / 439.2 MB, free: 14.94 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/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: 5.095065376954153]