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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006978/0.0006978, allocations: 97.56 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007598/0.0007598, allocations: 178.5 kB / 16.96 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06502/0.06502, allocations: 12.61 MB / 284 MB, free: 8.59 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006735/0.0006735, allocations: 20.56 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07309/0.07378, allocations: 50.39 MB / 395.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1): time 0.001723/0.07553, allocations: 1.448 MB / 397 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.0764, allocations: 0.5503 MB / 397.6 MB, free: 408 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.07651, allocations: 11.94 kB / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.07655, allocations: 3.938 kB / 397.6 MB, free: 392 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.07666, allocations: 15.91 kB / 397.6 MB, free: 376 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.07702, allocations: 83.8 kB / 397.7 MB, free: 292 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.07713, allocations: 83.77 kB / 397.7 MB, free: 208 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.07723, allocations: 29.11 kB / 397.8 MB, free: 180 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/0.07731, allocations: 35.78 kB / 397.8 MB, free: 144 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.07738, allocations: 39.78 kB / 397.9 MB, free: 104 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.07741, allocations: 4 kB / 397.9 MB, free: 100 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.07742, allocations: 4 kB / 397.9 MB, free: 96 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.07748, allocations: 23.84 kB / 397.9 MB, free: 72 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.07755, allocations: 69.5 kB / 398 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.07766, allocations: 95.77 kB / 398 MB, free: 15.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.07767, allocations: 0 / 398 MB, free: 15.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.07768, allocations: 0 / 398 MB, free: 15.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.07769, allocations: 4 kB / 398 MB, free: 15.9 MB / 302.1 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.0004251/0.07812, allocations: 403 kB / 398.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.07816, allocations: 8.031 kB / 398.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.0782, allocations: 16.75 kB / 398.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.07841, allocations: 216 kB / 398.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.07843, allocations: 8.375 kB / 398.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.07846, allocations: 8.375 kB / 398.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.0789, allocations: 294.1 kB / 399 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.07892, allocations: 3.938 kB / 399 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.07894, allocations: 0 / 399 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.07895, allocations: 4 kB / 399 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.07909, allocations: 55.91 kB / 399 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.07943, allocations: 302.6 kB / 399.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.07965, allocations: 135.7 kB / 399.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.0798, allocations: 78.73 kB / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.07984, allocations: 15.92 kB / 399.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.07986, allocations: 30.56 kB / 399.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.07987, allocations: 0 / 399.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003817/0.08025, allocations: 189.7 kB / 399.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.08033, allocations: 110.8 kB / 399.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.08045, allocations: 154.2 kB / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.08047, allocations: 25.7 kB / 400.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.08052, allocations: 100 kB / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.08055, allocations: 11.91 kB / 400.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.08058, allocations: 21.83 kB / 400.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.08073, allocations: 330.8 kB / 400.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.0808, allocations: 31.86 kB / 400.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.08092, allocations: 134.6 kB / 400.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.08111, allocations: 174.3 kB / 400.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.08112, allocations: 4 kB / 400.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002592/0.08138, allocations: 177.2 kB / 401 MB, free: 12.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.08141, allocations: 12.52 kB / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.08142, allocations: 4.078 kB / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.08144, allocations: 11.94 kB / 401.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.08155, allocations: 27.98 kB / 401.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.08157, allocations: 11.92 kB / 401.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.08165, allocations: 19.88 kB / 401.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.08167, allocations: 8 kB / 401.1 MB, free: 12.44 MB / 302.1 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 9.35e-05/0.08177, allocations: 141.7 kB / 401.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.08193, allocations: 117.4 kB / 401.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/0.08199, allocations: 25.19 kB / 401.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.082, allocations: 0 / 401.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.08201, allocations: 4 kB / 401.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.08202, allocations: 3.938 kB / 401.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.08219, allocations: 197.5 kB / 401.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0822, allocations: 3.938 kB / 401.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.0823, allocations: 31.92 kB / 401.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.08232, allocations: 4 kB / 401.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.08233, allocations: 0 / 401.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.08234, allocations: 7.984 kB / 401.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.08235, allocations: 8 kB / 401.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.08261, allocations: 256 kB / 401.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.08268, allocations: 101 kB / 402 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.08271, allocations: 4 kB / 402 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.0828, allocations: 11.94 kB / 402 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.08283, allocations: 4 kB / 402 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.08284, allocations: 7.938 kB / 402 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.643e-05/0.08291, allocations: 119.9 kB / 402.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08292, allocations: 0 / 402.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.08319, allocations: 24 kB / 402.2 MB, free: 11.29 MB / 302.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: 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.471e-05/0.08328, allocations: 95.23 kB / 402.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.0835, allocations: 123.7 kB / 402.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.08352, allocations: 0 / 402.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.08356, allocations: 9.062 kB / 402.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.084, allocations: 79.88 kB / 402.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.08442, allocations: 315.7 kB / 402.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.08465, allocations: 0.7166 MB / 403.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.161e-05/0.0847, allocations: 13.42 kB / 403.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.08474, allocations: 19.44 kB / 403.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of SimCode: time 1.463e-06/0.08475, allocations: 0 / 403.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of Templates: time 0.003289/0.08804, allocations: 1.105 MB / 404.6 MB, free: 8.754 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/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