Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001745/0.001745, allocations: 173.5 kB / 16.8 MB, free: 5.012 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.462/1.462, allocations: 205.4 MB / 223 MB, free: 9.02 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.0007151/0.0007152, allocations: 86.36 kB / 271.3 MB, free: 8.242 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.07031/0.07031, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006056/0.0006057, allocations: 19.94 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.0918, allocations: 50.37 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001459/0.09331, allocations: 1.321 MB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000756/0.09409, allocations: 0.5853 MB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.865e-05/0.0942, allocations: 4 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.09424, allocations: 3.938 kB / 445.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.09446, allocations: 27.91 kB / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.09473, allocations: 55.89 kB / 445.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.09483, allocations: 71.77 kB / 445.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.09493, allocations: 16.22 kB / 445.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.09504, allocations: 31.84 kB / 445.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.09511, allocations: 31.86 kB / 445.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.09514, allocations: 3.938 kB / 445.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.09516, allocations: 4 kB / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.09522, allocations: 15.92 kB / 445.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.09527, allocations: 61.48 kB / 445.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.917e-05/0.09534, allocations: 51.84 kB / 446 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.09535, allocations: 0 / 446 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09536, allocations: 0 / 446 MB, free: 13.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.09537, allocations: 0 / 446 MB, free: 13.12 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004227/0.0958, allocations: 391.4 kB / 446.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.09584, allocations: 12.03 kB / 446.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.09588, allocations: 12.75 kB / 446.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.09602, allocations: 204 kB / 446.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.09605, allocations: 8.375 kB / 446.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.09607, allocations: 8.375 kB / 446.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.09648, allocations: 233.3 kB / 446.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.0965, allocations: 7.875 kB / 446.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.09651, allocations: 0 / 446.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.09652, allocations: 0 / 446.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.09668, allocations: 63.94 kB / 446.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.09693, allocations: 298.4 kB / 447.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.09709, allocations: 103.8 kB / 447.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.742e-05/0.0972, allocations: 58.73 kB / 447.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.09723, allocations: 0 / 447.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.09725, allocations: 42.56 kB / 447.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.09726, allocations: 0 / 447.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003514/0.09761, allocations: 149.5 kB / 447.5 MB, free: 11.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.09767, allocations: 118.7 kB / 447.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.09776, allocations: 137.6 kB / 447.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.09778, allocations: 29.83 kB / 447.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.09781, allocations: 96.12 kB / 447.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.09783, allocations: 15.81 kB / 447.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.09784, allocations: 0 / 447.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.09789, allocations: 318.8 kB / 448.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.09795, allocations: 23.98 kB / 448.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.09802, allocations: 89.44 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.09815, allocations: 133.2 kB / 448.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.09816, allocations: 0 / 448.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001827/0.09835, allocations: 137.3 kB / 448.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.09837, allocations: 4.344 kB / 448.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.09838, allocations: 8 kB / 448.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.0984, allocations: 4 kB / 448.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.816e-05/0.0985, allocations: 23.98 kB / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.09852, allocations: 4 kB / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.09858, allocations: 11.88 kB / 448.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.0986, allocations: 8 kB / 448.7 MB, free: 10.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.554e-05/0.09867, allocations: 133.7 kB / 448.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.09882, allocations: 98.08 kB / 448.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.09887, allocations: 16.31 kB / 448.9 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.09888, allocations: 4 kB / 448.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.09888, allocations: 3.984 kB / 448.9 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.09889, allocations: 0 / 448.9 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.09903, allocations: 193.5 kB / 449.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.09904, allocations: 0 / 449.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.09914, allocations: 19.98 kB / 449.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.09915, allocations: 3.984 kB / 449.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.09917, allocations: 8 kB / 449.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.09918, allocations: 0 / 449.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.09918, allocations: 11.88 kB / 449.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.09941, allocations: 229 kB / 449.4 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.09946, allocations: 97 kB / 449.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.09949, allocations: 4 kB / 449.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.09958, allocations: 12 kB / 449.5 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.09962, allocations: 3.984 kB / 449.5 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.09963, allocations: 4 kB / 449.5 MB, free: 9.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.697e-05/0.09968, allocations: 111.2 kB / 449.6 MB, free: 9.047 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09969, allocations: 0 / 449.6 MB, free: 9.047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.09992, allocations: 12 kB / 449.6 MB, free: 9.035 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 6.644e-05/0.09999, allocations: 103.2 kB / 449.7 MB, free: 8.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.1002, allocations: 83.83 kB / 449.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1002, allocations: 0 / 449.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.1002, allocations: 12 kB / 449.8 MB, free: 8.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1006, allocations: 67.88 kB / 449.9 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.1012, allocations: 325.5 kB / 450.2 MB, free: 8.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.1013, allocations: 0.7082 MB / 450.9 MB, free: 7.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.1013, allocations: 19.44 kB / 450.9 MB, free: 7.652 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1013, allocations: 0 / 450.9 MB, free: 7.652 MB / 298.7 MB Notification: Performance of Templates: time 0.00218/0.1035, allocations: 1.18 MB / 452.1 MB, free: 6.477 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches