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.0008543/0.0008543, allocations: 174.2 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.251/1.251, allocations: 205 MB / 222.5 MB, free: 9.152 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.0007241/0.0007242, allocations: 97.67 kB / 270.5 MB, free: 8.676 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.08035/0.08035, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004015, allocations: 8 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.09169, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001733/0.09348, allocations: 1.325 MB / 443 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009701/0.09448, allocations: 0.5931 MB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.09464, allocations: 3.938 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.635e-05/0.09471, allocations: 3.938 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.09505, allocations: 27.91 kB / 443.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.09536, allocations: 63.81 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.09549, allocations: 67.84 kB / 443.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.09561, allocations: 16.22 kB / 443.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.09572, allocations: 35.78 kB / 443.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.0958, allocations: 23.86 kB / 443.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.09583, allocations: 7.938 kB / 443.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.09585, allocations: 4 kB / 443.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.09592, allocations: 19.91 kB / 443.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.09597, allocations: 35.8 kB / 443.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.09609, allocations: 59.77 kB / 444 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.0961, allocations: 0 / 444 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.09611, allocations: 0 / 444 MB, free: 14.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.09612, allocations: 0 / 444 MB, free: 14.09 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.0005298/0.09666, allocations: 383.5 kB / 444.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.09671, allocations: 8.031 kB / 444.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.09676, allocations: 16.75 kB / 444.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.09695, allocations: 212 kB / 444.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.09699, allocations: 8.375 kB / 444.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.09702, allocations: 8.375 kB / 444.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.09748, allocations: 225 kB / 444.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.09751, allocations: 0 / 444.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.09753, allocations: 4 kB / 444.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.09754, allocations: 0 / 444.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.0977, allocations: 59.89 kB / 444.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.09804, allocations: 294.4 kB / 445.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.09821, allocations: 103.8 kB / 445.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.09833, allocations: 62.73 kB / 445.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.09837, allocations: 11.92 kB / 445.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.09839, allocations: 34.56 kB / 445.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.0984, allocations: 0 / 445.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003906/0.0988, allocations: 149.5 kB / 445.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.09887, allocations: 118.7 kB / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.09897, allocations: 145.6 kB / 445.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.09899, allocations: 25.7 kB / 445.8 MB, free: 12.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.09903, allocations: 92.12 kB / 445.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.09905, allocations: 11.81 kB / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.09908, allocations: 21.84 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.09914, allocations: 322.8 kB / 446.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.513e-05/0.0992, allocations: 19.98 kB / 446.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.175e-05/0.09928, allocations: 97.42 kB / 446.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.09942, allocations: 125.2 kB / 446.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.09943, allocations: 0 / 446.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002004/0.09963, allocations: 133.4 kB / 446.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.09966, allocations: 8 kB / 446.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.09967, allocations: 0 / 446.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.09969, allocations: 4 kB / 446.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.09981, allocations: 28.27 kB / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.09982, allocations: 8 kB / 446.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.415e-05/0.09989, allocations: 11.94 kB / 446.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.09991, allocations: 8 kB / 446.7 MB, free: 11.05 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 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,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 8.669e-05/0.1, allocations: 139.5 kB / 446.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.1002, allocations: 101.5 kB / 446.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.1003, allocations: 20.3 kB / 446.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1003, allocations: 0 / 446.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1003, allocations: 0 / 446.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1003, allocations: 8 kB / 446.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1004, allocations: 186.1 kB / 447.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1004, allocations: 0 / 447.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1006, allocations: 23.97 kB / 447.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1006, allocations: 4 kB / 447.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1006, allocations: 4 kB / 447.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1006, allocations: 0 / 447.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1006, allocations: 4 kB / 447.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1009, allocations: 236.9 kB / 447.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.1009, allocations: 97 kB / 447.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.101, allocations: 4 kB / 447.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.1011, allocations: 11.98 kB / 447.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.1011, allocations: 0 / 447.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.1011, allocations: 4 kB / 447.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.065e-05/0.1012, allocations: 111.2 kB / 447.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1012, allocations: 0 / 447.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.1014, allocations: 16 kB / 447.6 MB, free: 9.992 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 8.611e-05/0.1015, allocations: 99.25 kB / 447.7 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1017, allocations: 88.45 kB / 447.8 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1017, allocations: 0 / 447.8 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.1018, allocations: 7.938 kB / 447.8 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.1022, allocations: 63.94 kB / 447.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.1028, allocations: 324.6 kB / 448.2 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.103, allocations: 0.7043 MB / 448.9 MB, free: 8.645 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.103, allocations: 11.44 kB / 448.9 MB, free: 8.633 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.103, allocations: 0 / 448.9 MB, free: 8.633 MB / 298.7 MB Notification: Performance of Templates: time 0.002454/0.1055, allocations: 1.179 MB / 450.1 MB, free: 7.461 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