Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.000776/0.000776, allocations: 84 kB / 21.43 MB, free: 3.133 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.003498/0.003498, allocations: 148.5 kB / 24.68 MB, free: 9.434 MB / 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 0.8294/0.8294, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.751e-05, allocations: 6.219 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.002087/0.002104, allocations: 1.918 MB / 321.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.003327, allocations: 1.141 MB / 322.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.003434, allocations: 11.88 kB / 322.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.003694, allocations: 71.59 kB / 322.8 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.00391, allocations: 103.4 kB / 322.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.00444, allocations: 304.1 kB / 323.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.004657, allocations: 215.4 kB / 323.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.004765, allocations: 41.88 kB / 323.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.004887, allocations: 123.6 kB / 323.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.005005, allocations: 99.69 kB / 323.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.005027, allocations: 12 kB / 323.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.005147, allocations: 75.88 kB / 323.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.00521, allocations: 63.77 kB / 323.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.005271, allocations: 59.77 kB / 323.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.00558, allocations: 295 kB / 324.2 MB, free: 1.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005582, allocations: 0 / 324.2 MB, free: 1.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005583, allocations: 0 / 324.2 MB, free: 1.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.005589, allocations: 4 kB / 324.2 MB, free: 1.328 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006559/0.006244, allocations: 0.5132 MB / 324.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.006282, allocations: 8.031 kB / 324.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.006342, allocations: 32.75 kB / 324.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.006613, allocations: 249.7 kB / 325 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.006631, allocations: 8.375 kB / 325 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.006651, allocations: 16.36 kB / 325 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.007068, allocations: 340.7 kB / 325.3 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.00708, allocations: 7.875 kB / 325.4 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.007094, allocations: 8 kB / 325.4 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.0071, allocations: 4 kB / 325.4 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.007211, allocations: 71.94 kB / 325.4 MB, free: 0 / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.007584, allocations: 330.1 kB / 325.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.007821, allocations: 187.9 kB / 325.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.204e-05/0.007913, allocations: 82.55 kB / 326 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.007941, allocations: 11.92 kB / 326 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.008073, allocations: 83.33 kB / 326.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.008075, allocations: 4 kB / 326.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003899/0.008465, allocations: 261.7 kB / 326.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.00854, allocations: 144.5 kB / 326.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.008779, allocations: 348.2 kB / 326.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.008797, allocations: 25.7 kB / 326.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.008875, allocations: 140.6 kB / 327 MB, free: 14.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.0089, allocations: 27.78 kB / 327 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.008945, allocations: 37.7 kB / 327.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.009034, allocations: 338.8 kB / 327.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.009082, allocations: 31.92 kB / 327.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.009189, allocations: 154.2 kB / 327.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.009308, allocations: 109.3 kB / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.009311, allocations: 0 / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001694/0.00948, allocations: 157.5 kB / 327.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.009495, allocations: 8 kB / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.0095, allocations: 0 / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.009513, allocations: 0 / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.009588, allocations: 23.92 kB / 327.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.009593, allocations: 0 / 327.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.009643, allocations: 15.94 kB / 327.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.00965, allocations: 7.938 kB / 327.9 MB, free: 13.3 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$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 (16): * Single equations (assignments): 16 * 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.0001125/0.009763, allocations: 169.6 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.009897, allocations: 149.4 kB / 328.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.01008, allocations: 131.5 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01008, allocations: 4 kB / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01009, allocations: 4 kB / 328.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01009, allocations: 0 / 328.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.01024, allocations: 185.1 kB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01024, allocations: 0 / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/0.01032, allocations: 35.92 kB / 328.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01032, allocations: 0 / 328.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.01033, allocations: 8.453 kB / 328.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01034, allocations: 0 / 328.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01034, allocations: 4 kB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.01058, allocations: 264.7 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.01065, allocations: 51.72 kB / 328.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.01068, allocations: 12.06 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.514e-05/0.01073, allocations: 11.98 kB / 328.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.01078, allocations: 11.98 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.0108, allocations: 8 kB / 328.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001675/0.01096, allocations: 251 kB / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01096, allocations: 0 / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.01116, allocations: 43.94 kB / 329.2 MB, free: 11.91 MB / 298.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: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008011/0.01197, allocations: 468.1 kB / 329.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.01217, allocations: 111.8 kB / 329.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01217, allocations: 0 / 329.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.958e-05/0.01222, allocations: 39.89 kB / 329.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.01254, allocations: 132.8 kB / 330 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.01307, allocations: 491.2 kB / 330.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.01317, allocations: 157.5 kB / 330.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.01322, allocations: 28.48 kB / 330.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01322, allocations: 0 / 330.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of Templates: time 0.003718/0.01694, allocations: 3.584 MB / 334.2 MB, free: 7.039 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.4553081672638655]