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.001014/0.001014, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.0009503/0.0009503, allocations: 149.7 kB / 25.6 MB, free: 8.449 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.9355/0.9355, allocations: 173.4 MB / 202.2 MB, free: 8.309 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.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.663e-06/1.663e-06, allocations: 0 / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.618e-05, allocations: 2.312 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003268/0.003294, allocations: 1.775 MB / 271 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007512/0.004046, allocations: 0.5275 MB / 271.5 MB, free: 7.473 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.004144, allocations: 7.938 kB / 271.5 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.323e-05/0.004197, allocations: 13.83 kB / 271.5 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.004349, allocations: 11.81 kB / 271.5 MB, free: 7.441 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.004635, allocations: 91.64 kB / 271.6 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.004758, allocations: 95.69 kB / 271.7 MB, free: 7.258 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.004855, allocations: 22.55 kB / 271.7 MB, free: 7.234 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.004964, allocations: 55.88 kB / 271.8 MB, free: 7.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.005021, allocations: 35.89 kB / 271.8 MB, free: 7.145 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.005041, allocations: 8.562 kB / 271.8 MB, free: 7.137 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.005055, allocations: 8.594 kB / 271.9 MB, free: 7.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.29e-05/0.005108, allocations: 31.89 kB / 271.9 MB, free: 7.098 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.005139, allocations: 24.95 kB / 271.9 MB, free: 7.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.005268, allocations: 87.58 kB / 272 MB, free: 6.988 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005271, allocations: 0 / 272 MB, free: 6.988 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005271, allocations: 1.344 kB / 272 MB, free: 6.988 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.005275, allocations: 0 / 272 MB, free: 6.988 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.0004076/0.005682, allocations: 449.5 kB / 272.4 MB, free: 6.516 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.005714, allocations: 12.03 kB / 272.4 MB, free: 6.504 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.005754, allocations: 24.84 kB / 272.5 MB, free: 6.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.005938, allocations: 168.8 kB / 272.6 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.005956, allocations: 9.25 kB / 272.6 MB, free: 6.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.00597, allocations: 12.38 kB / 272.7 MB, free: 6.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.00625, allocations: 244.7 kB / 272.9 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.006258, allocations: 192 / 272.9 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.00627, allocations: 8.375 kB / 272.9 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.006276, allocations: 3.938 kB / 272.9 MB, free: 5.996 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.006314, allocations: 27.91 kB / 272.9 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.006541, allocations: 263.8 kB / 273.2 MB, free: 5.676 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.006684, allocations: 137.3 kB / 273.3 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.006734, allocations: 59.25 kB / 273.4 MB, free: 5.434 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.006753, allocations: 4 kB / 273.4 MB, free: 5.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.006774, allocations: 33.39 kB / 273.4 MB, free: 5.387 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.006775, allocations: 0 / 273.4 MB, free: 5.387 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002038/0.006979, allocations: 129.7 kB / 273.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.007045, allocations: 126.8 kB / 273.7 MB, free: 5.105 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.007149, allocations: 201.9 kB / 273.9 MB, free: 4.891 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.007167, allocations: 29.7 kB / 273.9 MB, free: 4.855 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.007216, allocations: 146.8 kB / 274 MB, free: 4.707 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.007232, allocations: 7.953 kB / 274 MB, free: 4.699 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.007265, allocations: 39.47 kB / 274.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.007388, allocations: 0.4884 MB / 274.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.007403, allocations: 4 kB / 274.6 MB, free: 4.148 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.007435, allocations: 54.42 kB / 274.6 MB, free: 4.074 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.027e-05/0.007506, allocations: 62.36 kB / 274.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.007508, allocations: 3.938 kB / 274.7 MB, free: 3.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.91e-05/0.007597, allocations: 85.47 kB / 274.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.00761, allocations: 8 kB / 274.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007615, allocations: 3.938 kB / 274.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.007625, allocations: 4 kB / 274.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.007687, allocations: 11.92 kB / 274.8 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.00769, allocations: 0 / 274.8 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.007718, allocations: 4 kB / 274.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.007724, allocations: 4 kB / 274.8 MB, free: 3.863 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 8.019e-05/0.007805, allocations: 172.7 kB / 275 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.007899, allocations: 93.88 kB / 275.1 MB, free: 3.586 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.007934, allocations: 28.7 kB / 275.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.007936, allocations: 0 / 275.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.00794, allocations: 8 kB / 275.1 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.007943, allocations: 0 / 275.1 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.008048, allocations: 113.2 kB / 275.2 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008049, allocations: 0 / 275.2 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.472e-05/0.008124, allocations: 31.92 kB / 275.3 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008126, allocations: 0 / 275.3 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.008133, allocations: 7.984 kB / 275.3 MB, free: 3.375 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.008135, allocations: 4 kB / 275.3 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.008137, allocations: 3.938 kB / 275.3 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.008239, allocations: 211.3 kB / 275.5 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.008281, allocations: 31.81 kB / 275.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.008298, allocations: 4 kB / 275.5 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.359e-05/0.008342, allocations: 4 kB / 275.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.008371, allocations: 7.938 kB / 275.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.008378, allocations: 4 kB / 275.5 MB, free: 3.082 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.419e-05/0.008473, allocations: 148.8 kB / 275.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008473, allocations: 0 / 275.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001552/0.008628, allocations: 24.03 kB / 275.7 MB, free: 2.914 MB / 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 8.931e-05/0.008717, allocations: 103.2 kB / 275.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.991e-05/0.008817, allocations: 53.47 kB / 275.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008819, allocations: 0 / 275.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.32e-05/0.008832, allocations: 11.69 kB / 275.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.009157, allocations: 67.08 kB / 275.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.009614, allocations: 270.2 kB / 276.2 MB, free: 2.371 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.7e-05/0.009661, allocations: 75.33 kB / 276.3 MB, free: 2.277 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.008e-05/0.009691, allocations: 12.95 kB / 276.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.009765, allocations: 90.19 kB / 276.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.009766, allocations: 0 / 276.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of Templates: time 0.003073/0.01284, allocations: 1.333 MB / 277.7 MB, free: 0.8633 MB / 250.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] 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","",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.7428785800002515]