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.0008139/0.0008139, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.0009531/0.0009531, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9452/0.9452, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.593e-05, allocations: 2.312 kB / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001951/0.001967, allocations: 1.66 MB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.002971, allocations: 0.5414 MB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.003049, allocations: 7.938 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.764e-05/0.003136, allocations: 11.88 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.506e-05/0.003232, allocations: 19.78 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.003462, allocations: 63.75 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.003565, allocations: 63.72 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.003653, allocations: 23.91 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.003756, allocations: 39.91 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.003805, allocations: 23.91 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.00382, allocations: 4 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.655e-05/0.003857, allocations: 15.98 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.003896, allocations: 11.94 kB / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.00392, allocations: 19.92 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.004026, allocations: 59.8 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004028, allocations: 3.938 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.004028, allocations: 0 / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.004031, allocations: 0 / 276 MB, free: 14.68 MB / 266.7 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.00034/0.004371, allocations: 420.1 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.004405, allocations: 15.97 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.004538, allocations: 36.86 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.004675, allocations: 149 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.004684, allocations: 8.375 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.00469, allocations: 384 / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.004848, allocations: 125.3 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.004854, allocations: 192 / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.00486, allocations: 4.375 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.00488, allocations: 7.938 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.004899, allocations: 11.94 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.005136, allocations: 398.9 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.241e-05/0.005198, allocations: 85.36 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.005224, allocations: 30.98 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.005238, allocations: 4 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.005254, allocations: 33.39 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.005255, allocations: 0 / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001303/0.005386, allocations: 73.47 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.005435, allocations: 110.8 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.005524, allocations: 207.8 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.005535, allocations: 29.7 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.005578, allocations: 134.9 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.005595, allocations: 15.94 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.00562, allocations: 19.38 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.005742, allocations: 0.4884 MB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.005753, allocations: 384 / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.005776, allocations: 23.38 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.005815, allocations: 27.3 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.005816, allocations: 0 / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.136e-05/0.005887, allocations: 45.66 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.005901, allocations: 10.28 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005905, allocations: 4 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.005917, allocations: 3.938 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.005974, allocations: 12.05 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.005978, allocations: 4 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.006005, allocations: 4 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.006011, allocations: 0 / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.021e-05/0.006081, allocations: 160.6 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.006141, allocations: 37.66 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.006168, allocations: 15.91 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.006181, allocations: 7.984 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.006183, allocations: 0 / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.006185, allocations: 0 / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.006355, allocations: 125.2 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.006357, allocations: 0 / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.006384, allocations: 7.938 kB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.006387, allocations: 4 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.006392, allocations: 0 / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.006395, allocations: 3.984 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.006398, allocations: 7.938 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.006543, allocations: 314.8 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.006576, allocations: 19.94 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.006587, allocations: 0 / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.006673, allocations: 12.02 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.006701, allocations: 3.938 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.006705, allocations: 0 / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.208e-05/0.006767, allocations: 164.5 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006768, allocations: 0 / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.007005, allocations: 4 kB / 279.3 MB, free: 10.96 MB / 266.7 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 6.989e-05/0.007075, allocations: 103.2 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.729e-05/0.007142, allocations: 19.67 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.007143, allocations: 128 / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.007162, allocations: 19.62 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.007515, allocations: 27.83 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.007931, allocations: 213.5 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.637e-05/0.007977, allocations: 63.34 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.504e-05/0.008002, allocations: 224 / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.008064, allocations: 86.19 kB / 279.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008064, allocations: 3.938 kB / 279.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of Templates: time 0.002473/0.01054, allocations: 0.7895 MB / 280.7 MB, free: 9.586 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6308335456997156]