Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009137/0.0009137, allocations: 173.7 kB / 16.77 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.212/1.212, allocations: 205 MB / 222.5 MB, free: 9.145 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.0006667/0.0006667, allocations: 108.5 kB / 270.5 MB, free: 8.656 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.06563/0.06563, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07201/0.07238, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.001337/0.07376, allocations: 1.298 MB / 443 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005997/0.07438, allocations: 0.4957 MB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.07446, allocations: 4 kB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.07452, allocations: 7.922 kB / 443.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.07463, allocations: 7.922 kB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.07486, allocations: 55.89 kB / 443.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.07494, allocations: 43.8 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.07503, allocations: 12.19 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.0751, allocations: 23.91 kB / 443.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.07515, allocations: 19.86 kB / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.07517, allocations: 0 / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-06/0.07519, allocations: 0 / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.07524, allocations: 15.94 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.07527, allocations: 27.8 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.692e-05/0.07534, allocations: 31.94 kB / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.07535, allocations: 0 / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.07536, allocations: 0 / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.07536, allocations: 0 / 443.7 MB, free: 14.33 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003488/0.07572, allocations: 371.4 kB / 444.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.07576, allocations: 15.97 kB / 444.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.0758, allocations: 8.844 kB / 444.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.07595, allocations: 204 kB / 444.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.07596, allocations: 4.375 kB / 444.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.07598, allocations: 384 / 444.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.0762, allocations: 122 kB / 444.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.07622, allocations: 8 kB / 444.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.07624, allocations: 0 / 444.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.07625, allocations: 0 / 444.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/0.07633, allocations: 35.84 kB / 444.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.07655, allocations: 270.6 kB / 444.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.36e-05/0.07665, allocations: 75.78 kB / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.07671, allocations: 30.64 kB / 444.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.07674, allocations: 4 kB / 444.9 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.07676, allocations: 38.48 kB / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.07676, allocations: 4 kB / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002309/0.077, allocations: 89.86 kB / 445 MB, free: 12.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.07706, allocations: 106.8 kB / 445.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.07718, allocations: 149.5 kB / 445.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.07719, allocations: 25.7 kB / 445.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.07722, allocations: 88.14 kB / 445.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.07724, allocations: 7.906 kB / 445.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.07727, allocations: 9.719 kB / 445.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.302e-05/0.07731, allocations: 326.8 kB / 445.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.183e-05/0.07736, allocations: 8 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.07741, allocations: 39.42 kB / 445.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.07749, allocations: 51.36 kB / 445.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.0775, allocations: 0 / 445.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/0.07762, allocations: 77.52 kB / 445.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.07764, allocations: 8.125 kB / 445.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.07765, allocations: 7.938 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.07767, allocations: 0 / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.07774, allocations: 8 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.07776, allocations: 7.922 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.0778, allocations: 4 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.07782, allocations: 4 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.374e-05/0.07787, allocations: 118.7 kB / 446 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.07794, allocations: 61.53 kB / 446.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.07797, allocations: 11.83 kB / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.07798, allocations: 4 kB / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.07799, allocations: 0 / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.078, allocations: 3.984 kB / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.07812, allocations: 173.6 kB / 446.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.07812, allocations: 0 / 446.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.07818, allocations: 8 kB / 446.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.07819, allocations: 4 kB / 446.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.07821, allocations: 8.047 kB / 446.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.07821, allocations: 4 kB / 446.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.07822, allocations: 0 / 446.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.07835, allocations: 185 kB / 446.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.0784, allocations: 97 kB / 446.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.07842, allocations: 7.938 kB / 446.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.07849, allocations: 4 kB / 446.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.07853, allocations: 0 / 446.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.07854, allocations: 4 kB / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.314e-05/0.07859, allocations: 107.2 kB / 446.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07859, allocations: 0 / 446.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.0788, allocations: 11.94 kB / 446.7 MB, free: 10.96 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.603e-05/0.07887, allocations: 95.25 kB / 446.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.079, allocations: 39.91 kB / 446.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.07901, allocations: 4 kB / 446.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.275e-05/0.07905, allocations: 4 kB / 446.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.0794, allocations: 38.41 kB / 446.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.07969, allocations: 224.3 kB / 447.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.07981, allocations: 0.6965 MB / 447.8 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.07984, allocations: 15.44 kB / 447.8 MB, free: 9.781 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.07985, allocations: 0 / 447.8 MB, free: 9.781 MB / 298.7 MB Notification: Performance of Templates: time 0.001748/0.0816, allocations: 0.8084 MB / 448.6 MB, free: 8.977 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches