Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001481/0.001481, allocations: 92.62 kB / 20.95 MB, free: 3.473 MB / 18.57 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.001522/0.001522, allocations: 149.5 kB / 24.25 MB, free: 180 kB / 18.57 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.479/1.479, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.73e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00317/0.003197, allocations: 1.734 MB / 269.1 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.004262, allocations: 0.5178 MB / 269.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.454e-05/0.004347, allocations: 11.94 kB / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.764e-05/0.004394, allocations: 7.875 kB / 269.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.004522, allocations: 11.86 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.004891, allocations: 91.64 kB / 269.7 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.005057, allocations: 95.69 kB / 269.8 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.005162, allocations: 21.3 kB / 269.8 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.005287, allocations: 59.75 kB / 269.9 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/0.00536, allocations: 35.89 kB / 269.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.005389, allocations: 4 kB / 269.9 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.93e-05/0.005408, allocations: 12 kB / 269.9 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.005469, allocations: 27.91 kB / 270 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.005526, allocations: 23.92 kB / 270 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.005712, allocations: 107.6 kB / 270.1 MB, free: 3.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.005717, allocations: 4 kB / 270.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005718, allocations: 0 / 270.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.005722, allocations: 3.938 kB / 270.1 MB, free: 3.918 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005867/0.006308, allocations: 353.7 kB / 270.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.006341, allocations: 8.031 kB / 270.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.006405, allocations: 28.84 kB / 270.5 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.006702, allocations: 161.5 kB / 270.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.006724, allocations: 12.31 kB / 270.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.006746, allocations: 8.375 kB / 270.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.00728, allocations: 273.4 kB / 270.9 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.007289, allocations: 192 / 270.9 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.007302, allocations: 4.375 kB / 270.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.007311, allocations: 3.938 kB / 270.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.007479, allocations: 55.89 kB / 271 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.007809, allocations: 226.3 kB / 271.2 MB, free: 2.699 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.008073, allocations: 139.8 kB / 271.3 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.008208, allocations: 66.61 kB / 271.4 MB, free: 2.461 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.008232, allocations: 4 kB / 271.4 MB, free: 2.457 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.008268, allocations: 42.44 kB / 271.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.008269, allocations: 0 / 271.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004592/0.008728, allocations: 177.4 kB / 271.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.008834, allocations: 114.8 kB / 271.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.008995, allocations: 154.4 kB / 271.9 MB, free: 1.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.009019, allocations: 25.7 kB / 271.9 MB, free: 1.898 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.009104, allocations: 104 kB / 272 MB, free: 1.793 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.009125, allocations: 16.03 kB / 272 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.009174, allocations: 25.7 kB / 272 MB, free: 1.746 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.009336, allocations: 318.8 kB / 272.4 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-05/0.009404, allocations: 15.98 kB / 272.4 MB, free: 1.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.009483, allocations: 52.22 kB / 272.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.009612, allocations: 68.22 kB / 272.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009614, allocations: 0 / 272.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001944/0.009809, allocations: 105.5 kB / 272.6 MB, free: 1.152 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.009827, allocations: 7.938 kB / 272.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.009834, allocations: 3.984 kB / 272.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.009849, allocations: 8.156 kB / 272.6 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.009916, allocations: 4 kB / 272.6 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.009922, allocations: 0 / 272.6 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.009971, allocations: 8 kB / 272.6 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.009982, allocations: 4 kB / 272.6 MB, free: 1.117 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001187/0.0101, allocations: 129.8 kB / 272.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.01032, allocations: 125.5 kB / 272.9 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.01036, allocations: 16.78 kB / 272.9 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01037, allocations: 0 / 272.9 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.01037, allocations: 8 kB / 272.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.01038, allocations: 7.984 kB / 272.9 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.01056, allocations: 133.2 kB / 273 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01056, allocations: 0 / 273 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.01067, allocations: 23.98 kB / 273.1 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.01068, allocations: 7.938 kB / 273.1 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01069, allocations: 3.938 kB / 273.1 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.01069, allocations: 4 kB / 273.1 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0107, allocations: 0 / 273.1 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.01104, allocations: 251.9 kB / 273.3 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.0111, allocations: 23.92 kB / 273.4 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.01113, allocations: 15.94 kB / 273.4 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.01123, allocations: 8 kB / 273.4 MB, free: 316 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.01127, allocations: 0 / 273.4 MB, free: 316 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.01129, allocations: 11.92 kB / 273.4 MB, free: 304 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.01139, allocations: 117.7 kB / 273.5 MB, free: 188 kB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01139, allocations: 0 / 273.5 MB, free: 188 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.01165, allocations: 23.89 kB / 273.5 MB, free: 164 kB / 250.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 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 0.0001496/0.0118, allocations: 103.2 kB / 273.6 MB, free: 52 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.01204, allocations: 71.91 kB / 273.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01205, allocations: 0 / 273.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.01209, allocations: 15.92 kB / 273.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.01256, allocations: 83.92 kB / 273.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.01311, allocations: 258.7 kB / 274 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.01325, allocations: 122 kB / 274.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.01329, allocations: 4.984 kB / 274.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.01333, allocations: 12.5 kB / 274.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01333, allocations: 4 kB / 274.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of Templates: time 0.004339/0.01767, allocations: 1.231 MB / 275.4 MB, free: 14.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.316070087981643]