Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 172.7 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205 MB / 222.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000749/0.0007494, allocations: 101.6 kB / 270.5 MB, free: 8.664 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07293/0.07293, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 8 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06699/0.06734, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1): time 0.001436/0.06881, allocations: 1.463 MB / 443.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006696/0.06949, allocations: 0.5697 MB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.06958, allocations: 3.938 kB / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.443e-05/0.06964, allocations: 7.922 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.06976, allocations: 11.94 kB / 443.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.07009, allocations: 79.78 kB / 443.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.147e-05/0.07018, allocations: 87.7 kB / 443.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.07029, allocations: 25.11 kB / 443.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.544e-05/0.07037, allocations: 31.86 kB / 444 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.07043, allocations: 47.77 kB / 444 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.07045, allocations: 0 / 444 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.07048, allocations: 4 kB / 444 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.07053, allocations: 23.86 kB / 444 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.07058, allocations: 51.66 kB / 444.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.571e-05/0.07066, allocations: 64.14 kB / 444.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.07067, allocations: 0 / 444.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.886e-05/0.07069, allocations: 0 / 444.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.0707, allocations: 0 / 444.2 MB, free: 13.91 MB / 298.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.0003787/0.07109, allocations: 407 kB / 444.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.07112, allocations: 8.031 kB / 444.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.07117, allocations: 20.73 kB / 444.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.07132, allocations: 212 kB / 444.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.07135, allocations: 12.36 kB / 444.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.07137, allocations: 12.38 kB / 444.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.07175, allocations: 286.3 kB / 445.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.07177, allocations: 3.938 kB / 445.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.07179, allocations: 12 kB / 445.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.0718, allocations: 0 / 445.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.07192, allocations: 55.91 kB / 445.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.07217, allocations: 302.5 kB / 445.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.07235, allocations: 135.9 kB / 445.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.07247, allocations: 70.66 kB / 445.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.0725, allocations: 8.156 kB / 445.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.07252, allocations: 42.48 kB / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.07253, allocations: 0 / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003332/0.07287, allocations: 177.4 kB / 445.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.07292, allocations: 118.9 kB / 446 MB, free: 11.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.07302, allocations: 154.2 kB / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.07304, allocations: 29.7 kB / 446.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.07307, allocations: 100 kB / 446.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.07309, allocations: 15.89 kB / 446.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.07312, allocations: 21.7 kB / 446.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.962e-05/0.07317, allocations: 322.8 kB / 446.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.07323, allocations: 35.92 kB / 446.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.07332, allocations: 138.5 kB / 446.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.07347, allocations: 166.4 kB / 447 MB, free: 10.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.07348, allocations: 4 kB / 447 MB, free: 10.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002239/0.07371, allocations: 189.1 kB / 447.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.07373, allocations: 4 kB / 447.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.07374, allocations: 4 kB / 447.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.07376, allocations: 4 kB / 447.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.07387, allocations: 36.39 kB / 447.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.07388, allocations: 15.98 kB / 447.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.07396, allocations: 15.88 kB / 447.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.07398, allocations: 12 kB / 447.2 MB, free: 10.44 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (21): * Single equations (assignments): 21 * 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 7.024e-05/0.07406, allocations: 134.1 kB / 447.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.07421, allocations: 125.3 kB / 447.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.07425, allocations: 24.64 kB / 447.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.07426, allocations: 0 / 447.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.07427, allocations: 8 kB / 447.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.07428, allocations: 7.938 kB / 447.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.07441, allocations: 197.5 kB / 447.7 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.07442, allocations: 0 / 447.7 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.743e-05/0.07452, allocations: 23.98 kB / 447.7 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.07453, allocations: 7.984 kB / 447.8 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.07454, allocations: 4 kB / 447.8 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.07455, allocations: 0 / 447.8 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.07456, allocations: 4 kB / 447.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.07479, allocations: 265.8 kB / 448 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.07484, allocations: 97 kB / 448.1 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.07487, allocations: 4 kB / 448.1 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.07495, allocations: 7.984 kB / 448.1 MB, free: 9.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.07499, allocations: 4 kB / 448.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.075, allocations: 15.94 kB / 448.1 MB, free: 9.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.851e-05/0.07506, allocations: 115.9 kB / 448.3 MB, free: 9.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07506, allocations: 0 / 448.3 MB, free: 9.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.07531, allocations: 20 kB / 448.3 MB, free: 9.285 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: 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 7.459e-05/0.07539, allocations: 99.19 kB / 448.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.07559, allocations: 122.7 kB / 448.5 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0756, allocations: 0 / 448.5 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.07564, allocations: 11.98 kB / 448.5 MB, free: 9.047 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.07606, allocations: 75.94 kB / 448.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.07644, allocations: 342 kB / 448.9 MB, free: 8.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.07656, allocations: 0.7244 MB / 449.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.0766, allocations: 19.44 kB / 449.7 MB, free: 7.828 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.07661, allocations: 0 / 449.7 MB, free: 7.828 MB / 298.7 MB Notification: Performance of Templates: time 0.002212/0.07882, allocations: 1.445 MB / 451.1 MB, free: 6.383 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches