Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 47.92 kB / 371.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2516, allocations: 52.18 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002937/0.2546, allocations: 1.584 MB / 425.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008506/0.2554, allocations: 450.9 kB / 425.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.2555, allocations: 4 kB / 425.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.888e-05/0.2556, allocations: 11.86 kB / 425.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.2557, allocations: 3.938 kB / 425.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.2559, allocations: 58.06 kB / 425.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.256, allocations: 47.78 kB / 426 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.2561, allocations: 12.19 kB / 426 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/0.2562, allocations: 19.92 kB / 426 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.2563, allocations: 23.84 kB / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2563, allocations: 8 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.2563, allocations: 4 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.2563, allocations: 15.92 kB / 426.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.2564, allocations: 15.88 kB / 426.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2565, allocations: 59.39 kB / 426.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2565, allocations: 0 / 426.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2565, allocations: 3.938 kB / 426.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2565, allocations: 0 / 426.1 MB, free: 12.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004621/0.257, allocations: 300 kB / 426.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.257, allocations: 8.031 kB / 426.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.257, allocations: 8.891 kB / 426.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.2573, allocations: 154.3 kB / 426.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2573, allocations: 384 / 426.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2573, allocations: 12.31 kB / 426.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.2576, allocations: 114 kB / 426.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2576, allocations: 0 / 426.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.2576, allocations: 0 / 426.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2576, allocations: 4 kB / 426.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.2577, allocations: 23.92 kB / 426.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.258, allocations: 218.3 kB / 427 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.2581, allocations: 71.72 kB / 427 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.2582, allocations: 34.56 kB / 427.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.2582, allocations: 8 kB / 427.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.2582, allocations: 34.56 kB / 427.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2582, allocations: 4 kB / 427.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002567/0.2585, allocations: 81.56 kB / 427.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/0.2586, allocations: 110.8 kB / 427.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2587, allocations: 144.4 kB / 427.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.2587, allocations: 25.7 kB / 427.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.2588, allocations: 88.14 kB / 427.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.2588, allocations: 11.94 kB / 427.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.2588, allocations: 14.09 kB / 427.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.259, allocations: 322.8 kB / 427.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.259, allocations: 11.92 kB / 427.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.2591, allocations: 39.41 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.908e-05/0.2592, allocations: 47.36 kB / 428 MB, free: 10.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2592, allocations: 3.938 kB / 428 MB, free: 10.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001403/0.2593, allocations: 73.58 kB / 428.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2593, allocations: 7.984 kB / 428.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2593, allocations: 4 kB / 428.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2594, allocations: 0 / 428.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.714e-05/0.2594, allocations: 11.94 kB / 428.1 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2594, allocations: 0 / 428.1 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.2595, allocations: 7.938 kB / 428.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2595, allocations: 7.984 kB / 428.1 MB, free: 9.941 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 9.314e-05/0.2596, allocations: 121.9 kB / 428.2 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.072e-05/0.2597, allocations: 53.58 kB / 428.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.2597, allocations: 11.97 kB / 428.3 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2597, allocations: 4 kB / 428.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2597, allocations: 3.938 kB / 428.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2597, allocations: 0 / 428.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.2599, allocations: 125.2 kB / 428.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2599, allocations: 0 / 428.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.2599, allocations: 8 kB / 428.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2599, allocations: 0 / 428.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2599, allocations: 4.062 kB / 428.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.2599, allocations: 7.984 kB / 428.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2599, allocations: 3.984 kB / 428.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.2602, allocations: 181.1 kB / 428.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.2602, allocations: 11.95 kB / 428.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2602, allocations: 3.984 kB / 428.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.2603, allocations: 4 kB / 428.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.2603, allocations: 4 kB / 428.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2603, allocations: 4 kB / 428.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.528e-05/0.2604, allocations: 107.2 kB / 428.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2604, allocations: 4 kB / 428.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.2606, allocations: 8 kB / 428.8 MB, free: 9.211 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 (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 Backend phase and start with SimCode phase: time 9.611e-05/0.2607, allocations: 91.25 kB / 428.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.2609, allocations: 35.92 kB / 428.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2609, allocations: 0 / 428.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.728e-05/0.2609, allocations: 7.984 kB / 428.9 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2613, allocations: 47.58 kB / 428.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.2616, allocations: 206.5 kB / 429.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.41e-05/0.2617, allocations: 79.19 kB / 429.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.2618, allocations: 11.42 kB / 429.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2618, allocations: 0 / 429.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of Templates: time 0.002462/0.2642, allocations: 0.8349 MB / 430.1 MB, free: 7.84 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.773553269915283]