Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001834/0.001834, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.00223/0.00223, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.517/1.517, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.099e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002835/0.002866, allocations: 1.563 MB / 273.9 MB, free: 260 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004168/0.003283, allocations: 139.5 kB / 274 MB, free: 120 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.003369, allocations: 3.938 kB / 274 MB, free: 116 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.003477, allocations: 11.92 kB / 274 MB, free: 104 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.003587, allocations: 11.88 kB / 274 MB, free: 92 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.003863, allocations: 35.83 kB / 274.1 MB, free: 56 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.004011, allocations: 39.86 kB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.004142, allocations: 24.03 kB / 274.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.004194, allocations: 19.86 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.004241, allocations: 11.98 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.004262, allocations: 4 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.004272, allocations: 3.938 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.004326, allocations: 12 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.004387, allocations: 19.91 kB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.004512, allocations: 51.8 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.004514, allocations: 0 / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004514, allocations: 0 / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.004518, allocations: 3.938 kB / 274.3 MB, free: 15.87 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.0005272/0.005045, allocations: 310 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.005084, allocations: 8.031 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.005133, allocations: 12.89 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.005385, allocations: 141.6 kB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.005395, allocations: 384 / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.005408, allocations: 4.375 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.005736, allocations: 130.4 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.005744, allocations: 192 / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.005757, allocations: 4.375 kB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.005784, allocations: 8.359 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.005916, allocations: 39.84 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.00648, allocations: 305.6 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.006637, allocations: 79.78 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.681e-05/0.006724, allocations: 38.62 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.006735, allocations: 3.938 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.006772, allocations: 42.55 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.006773, allocations: 0 / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003775/0.007151, allocations: 105.5 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.00724, allocations: 107.1 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.007403, allocations: 157 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.007424, allocations: 25.7 kB / 275.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.007501, allocations: 96.06 kB / 275.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.007512, allocations: 3.953 kB / 275.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.007551, allocations: 17.72 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.007718, allocations: 314.8 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.00778, allocations: 15.98 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.007838, allocations: 21.7 kB / 276.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.007956, allocations: 45.75 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007958, allocations: 0 / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001703/0.008128, allocations: 65.56 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.008147, allocations: 11.94 kB / 276.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.008152, allocations: 0 / 276.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.008165, allocations: 0 / 276.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.008247, allocations: 16.05 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.008255, allocations: 3.984 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.008293, allocations: 4 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.008301, allocations: 7.938 kB / 276.4 MB, free: 13.52 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: 2 (sample1.u[2],sample1.u[1]) * 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 0.0001139/0.008415, allocations: 121.8 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-05/0.00851, allocations: 53.64 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.008536, allocations: 11.91 kB / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.008547, allocations: 4 kB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.008553, allocations: 3.984 kB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.008556, allocations: 8.031 kB / 276.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.008765, allocations: 121.3 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.008768, allocations: 0 / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.008813, allocations: 7.984 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.008817, allocations: 4 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.008824, allocations: 0 / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.008829, allocations: 3.938 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00883, allocations: 3.938 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.009145, allocations: 263.6 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.009184, allocations: 23.94 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.009198, allocations: 0 / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.009303, allocations: 11.88 kB / 277 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.009348, allocations: 7.984 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.009351, allocations: 0 / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.09e-05/0.009442, allocations: 107.3 kB / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009442, allocations: 0 / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.009693, allocations: 4 kB / 277.1 MB, free: 12.71 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * 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.0001237/0.009816, allocations: 111.2 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.01, allocations: 43.95 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01, allocations: 0 / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.01006, allocations: 15.92 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.01047, allocations: 28.58 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.01082, allocations: 185.2 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.01093, allocations: 87.66 kB / 277.6 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.807e-05/0.01096, allocations: 4 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.01099, allocations: 8.5 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01099, allocations: 0 / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of Templates: time 0.003219/0.01421, allocations: 0.6652 MB / 278.2 MB, free: 11.54 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.396029817056842]