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.001744/0.001744, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.002442/0.002442, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.619/1.619, allocations: 230.6 MB / 254.8 MB, free: 14.9 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.001748/0.001748, allocations: 55.92 kB / 374.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1136, allocations: 53.33 MB / 427.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00363/0.1172, allocations: 1.62 MB / 429.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1185, allocations: 0.561 MB / 429.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1186, allocations: 7.938 kB / 429.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.1187, allocations: 7.922 kB / 429.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.1188, allocations: 19.8 kB / 429.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.1192, allocations: 78.53 kB / 429.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1194, allocations: 59.78 kB / 429.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1195, allocations: 19.97 kB / 429.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1197, allocations: 35.8 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.1198, allocations: 27.86 kB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1198, allocations: 4 kB / 429.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.047e-05/0.1198, allocations: 8 kB / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.1199, allocations: 19.91 kB / 430 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.12, allocations: 39.73 kB / 430 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1202, allocations: 75.59 kB / 430.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.1202, allocations: 8 kB / 430.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1202, allocations: 0 / 430.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1202, allocations: 0 / 430.1 MB, free: 1.645 MB / 350.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.0006486/0.1208, allocations: 402.8 kB / 430.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1209, allocations: 8.031 kB / 430.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.1211, allocations: 24.88 kB / 430.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.1215, allocations: 216.1 kB / 430.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1215, allocations: 4.375 kB / 430.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1215, allocations: 4.375 kB / 430.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.1218, allocations: 126.2 kB / 430.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1219, allocations: 4 kB / 430.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1219, allocations: 0 / 430.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.1219, allocations: 4 kB / 430.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.122, allocations: 43.91 kB / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.1226, allocations: 377.9 kB / 431.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1228, allocations: 83.78 kB / 431.4 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.152e-05/0.1229, allocations: 34.62 kB / 431.4 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1229, allocations: 7.922 kB / 431.4 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1229, allocations: 46.48 kB / 431.4 MB, free: 80 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1229, allocations: 0 / 431.4 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.2586/0.3816, allocations: 107.3 kB / 431.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.3816, allocations: 109.6 kB / 431.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.3818, allocations: 154.2 kB / 431.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3818, allocations: 26.67 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.3819, allocations: 98.05 kB / 431.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.3819, allocations: 8.016 kB / 431.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.382, allocations: 19.03 kB / 431.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.3821, allocations: 319.5 kB / 432.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.3821, allocations: 18.81 kB / 432.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.306e-05/0.3822, allocations: 44.14 kB / 432.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3824, allocations: 65.83 kB / 432.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3824, allocations: 3.844 kB / 432.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002587/0.3827, allocations: 92.52 kB / 432.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3827, allocations: 5.625 kB / 432.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3827, allocations: 4.125 kB / 432.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.3827, allocations: 4.5 kB / 432.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3829, allocations: 11.8 kB / 432.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3829, allocations: 2.281 kB / 432.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.3829, allocations: 14.02 kB / 432.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.383, allocations: 3.359 kB / 432.5 MB, free: 10.42 MB / 350.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 8.383e-05/0.383, allocations: 118.6 kB / 432.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3831, allocations: 49.69 kB / 432.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.3832, allocations: 17.33 kB / 432.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.3832, allocations: 3.469 kB / 432.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3832, allocations: 4.688 kB / 432.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.3832, allocations: 1.844 kB / 432.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.3835, allocations: 185 kB / 432.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3835, allocations: 0.7812 kB / 432.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.3835, allocations: 13.67 kB / 432.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3835, allocations: 0.7188 kB / 432.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3836, allocations: 6.188 kB / 432.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3836, allocations: 0 / 432.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3836, allocations: 1.188 kB / 432.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.3838, allocations: 271.9 kB / 433.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.3839, allocations: 97.14 kB / 433.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.3839, allocations: 5.25 kB / 433.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.3841, allocations: 5.328 kB / 433.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.3841, allocations: 7.906 kB / 433.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.3841, allocations: 2.469 kB / 433.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.384e-05/0.3842, allocations: 121.9 kB / 433.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3842, allocations: 1.781 kB / 433.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.3845, allocations: 9.375 kB / 433.4 MB, free: 9.672 MB / 350.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.0001112/0.3846, allocations: 103.4 kB / 433.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.3848, allocations: 51.23 kB / 433.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3848, allocations: 1.406 kB / 433.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.3849, allocations: 21.05 kB / 433.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.3854, allocations: 28.28 kB / 433.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.3858, allocations: 231.5 kB / 433.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.3859, allocations: 0.7035 MB / 434.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.3859, allocations: 16.11 kB / 434.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3859, allocations: 0 / 434.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of Templates: time 0.002674/0.3886, allocations: 0.9796 MB / 435.6 MB, free: 8.66 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: 7.602926245977869]