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.0008858/0.0008862, allocations: 176.1 kB / 16.8 MB, free: 5.008 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.31/1.31, allocations: 205.4 MB / 223 MB, free: 8.926 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.0007104/0.0007104, allocations: 91.78 kB / 271.3 MB, free: 8.219 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.06792/0.06792, allocations: 12.59 MB / 332.2 MB, free: 11.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003592, allocations: 15.94 kB / 393.3 MB, free: 65.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08752/0.0879, allocations: 50.38 MB / 443.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1): time 0.00192/0.08987, allocations: 1.451 MB / 445.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008374/0.09074, allocations: 0.5503 MB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.09088, allocations: 7.938 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.09093, allocations: 7.938 kB / 445.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.09108, allocations: 15.91 kB / 445.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.09149, allocations: 79.8 kB / 445.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.09162, allocations: 87.7 kB / 445.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.09174, allocations: 25.11 kB / 445.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.601e-05/0.09183, allocations: 35.84 kB / 446 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.09191, allocations: 35.78 kB / 446 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.09194, allocations: 4 kB / 446 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/0.09196, allocations: 4 kB / 446 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.09202, allocations: 23.84 kB / 446 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.09209, allocations: 73.38 kB / 446.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.09218, allocations: 72.14 kB / 446.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09219, allocations: 0 / 446.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.0922, allocations: 0 / 446.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.09221, allocations: 3.938 kB / 446.2 MB, free: 12.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.0004353/0.09265, allocations: 399.1 kB / 446.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.09269, allocations: 12.03 kB / 446.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.09274, allocations: 16.75 kB / 446.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.09292, allocations: 216 kB / 446.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.09295, allocations: 12.31 kB / 446.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.09297, allocations: 8.375 kB / 446.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.09339, allocations: 289.5 kB / 447.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.09341, allocations: 0 / 447.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.09343, allocations: 3.938 kB / 447.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.09344, allocations: 7.984 kB / 447.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.09358, allocations: 43.98 kB / 447.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.0939, allocations: 314.5 kB / 447.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.0941, allocations: 131.8 kB / 447.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.09422, allocations: 78.66 kB / 447.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.09425, allocations: 4 kB / 447.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.09428, allocations: 38.5 kB / 447.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.09428, allocations: 0 / 447.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003852/0.09468, allocations: 181.4 kB / 447.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.09474, allocations: 118.8 kB / 448 MB, free: 10.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.09485, allocations: 154.2 kB / 448.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.09487, allocations: 25.7 kB / 448.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.09491, allocations: 100 kB / 448.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.09494, allocations: 20.03 kB / 448.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.09495, allocations: 4 kB / 448.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.09502, allocations: 318.9 kB / 448.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.0951, allocations: 39.92 kB / 448.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.629e-05/0.09519, allocations: 138.5 kB / 448.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.09535, allocations: 174.4 kB / 449 MB, free: 9.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.09536, allocations: 0 / 449 MB, free: 9.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002391/0.09561, allocations: 189.1 kB / 449.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.09563, allocations: 8 kB / 449.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.09564, allocations: 4 kB / 449.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.09567, allocations: 4.531 kB / 449.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.09579, allocations: 43.86 kB / 449.2 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.0958, allocations: 8 kB / 449.2 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.203e-05/0.09589, allocations: 16.25 kB / 449.2 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.09591, allocations: 15.94 kB / 449.2 MB, free: 9.461 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 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.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 8.108e-05/0.096, allocations: 133.8 kB / 449.4 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.09615, allocations: 125.3 kB / 449.5 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.0962, allocations: 16.72 kB / 449.5 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.09621, allocations: 4 kB / 449.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.09622, allocations: 4 kB / 449.5 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.09623, allocations: 3.938 kB / 449.5 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.09637, allocations: 201.5 kB / 449.7 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.09638, allocations: 0 / 449.7 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.09649, allocations: 23.98 kB / 449.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.0965, allocations: 0 / 449.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.09652, allocations: 11.98 kB / 449.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.09652, allocations: 0 / 449.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.09653, allocations: 400 / 449.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.09678, allocations: 263.3 kB / 450 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.09684, allocations: 101 kB / 450.1 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.09686, allocations: 4 kB / 450.1 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.09695, allocations: 8 kB / 450.1 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.09699, allocations: 4 kB / 450.1 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.09701, allocations: 7.938 kB / 450.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.907e-05/0.09707, allocations: 119.9 kB / 450.2 MB, free: 8.344 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09708, allocations: 0 / 450.2 MB, free: 8.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.09734, allocations: 20 kB / 450.3 MB, free: 8.324 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 9.154e-05/0.09743, allocations: 111.2 kB / 450.4 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.09766, allocations: 111.9 kB / 450.5 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.09767, allocations: 4 kB / 450.5 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.09772, allocations: 8 kB / 450.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.09819, allocations: 77.34 kB / 450.6 MB, free: 8.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.09864, allocations: 350.6 kB / 450.9 MB, free: 7.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.0988, allocations: 0.7166 MB / 451.6 MB, free: 6.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.09884, allocations: 23.36 kB / 451.7 MB, free: 6.863 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.09885, allocations: 0 / 451.7 MB, free: 6.863 MB / 298.7 MB Notification: Performance of Templates: time 0.002889/0.1017, allocations: 1.437 MB / 453.1 MB, free: 5.422 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