Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.001492/0.001492, allocations: 176.8 kB / 16.77 MB, free: 5.047 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.425/1.425, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008195/0.0008189, allocations: 86.36 kB / 271.3 MB, free: 8.258 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.08245/0.08245, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.000502, allocations: 20 kB / 392.6 MB, free: 66.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 50.37 MB / 443 MB, free: 16.14 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001832/0.1088, allocations: 1.298 MB / 444.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.1097, allocations: 0.5661 MB / 444.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.388e-05/0.1098, allocations: 4 kB / 444.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.494e-05/0.1099, allocations: 3.938 kB / 444.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.1102, allocations: 27.84 kB / 444.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1105, allocations: 59.88 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1106, allocations: 63.83 kB / 445 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1107, allocations: 24.2 kB / 445 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.336e-05/0.1108, allocations: 27.86 kB / 445 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.1109, allocations: 31.84 kB / 445.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1109, allocations: 0 / 445.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.111, allocations: 4 kB / 445.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.111, allocations: 15.92 kB / 445.1 MB, free: 14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.1111, allocations: 61.5 kB / 445.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.179e-05/0.1112, allocations: 51.89 kB / 445.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1112, allocations: 3.938 kB / 445.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1112, allocations: 4 kB / 445.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.1112, allocations: 0 / 445.2 MB, free: 13.88 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.0005394/0.1118, allocations: 383.5 kB / 445.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1118, allocations: 8.031 kB / 445.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.1119, allocations: 12.75 kB / 445.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.112, allocations: 212 kB / 445.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.1121, allocations: 4.375 kB / 445.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1121, allocations: 12.38 kB / 445.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.1126, allocations: 224.5 kB / 446 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1126, allocations: 0 / 446 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1126, allocations: 8 kB / 446 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1126, allocations: 0 / 446 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1128, allocations: 55.89 kB / 446.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.1131, allocations: 294.5 kB / 446.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1133, allocations: 99.89 kB / 446.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1134, allocations: 58.61 kB / 446.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1134, allocations: 8 kB / 446.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1134, allocations: 34.56 kB / 446.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.1135, allocations: 3.938 kB / 446.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003773/0.1138, allocations: 145.5 kB / 446.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.1139, allocations: 118.9 kB / 446.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.114, allocations: 141.6 kB / 447 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.114, allocations: 29.7 kB / 447 MB, free: 11.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.1141, allocations: 92.06 kB / 447.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1141, allocations: 15.81 kB / 447.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.1141, allocations: 4 kB / 447.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.1142, allocations: 326.8 kB / 447.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.1142, allocations: 27.92 kB / 447.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.1143, allocations: 89.38 kB / 447.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1145, allocations: 121.2 kB / 447.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1145, allocations: 4 kB / 447.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001853/0.1147, allocations: 137.3 kB / 447.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1147, allocations: 8 kB / 447.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1147, allocations: 4 kB / 447.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.1147, allocations: 3.984 kB / 447.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1149, allocations: 27.92 kB / 447.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1149, allocations: 7.984 kB / 447.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.1149, allocations: 12.34 kB / 447.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.115, allocations: 8 kB / 447.9 MB, free: 10.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.248e-05/0.1151, allocations: 133.5 kB / 448 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.1152, allocations: 97.52 kB / 448.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.582e-05/0.1153, allocations: 16.31 kB / 448.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1153, allocations: 0 / 448.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1153, allocations: 0 / 448.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1153, allocations: 7.984 kB / 448.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1155, allocations: 185.4 kB / 448.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1155, allocations: 0.625 kB / 448.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.1156, allocations: 31.92 kB / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1156, allocations: 4 kB / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1156, allocations: 3.984 kB / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1156, allocations: 8 kB / 448.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1156, allocations: 0 / 448.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.1158, allocations: 233 kB / 448.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.1159, allocations: 101 kB / 448.7 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.1159, allocations: 4 kB / 448.7 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.116, allocations: 7.938 kB / 448.7 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.1161, allocations: 7.984 kB / 448.7 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1161, allocations: 4 kB / 448.7 MB, free: 9.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.024e-05/0.1161, allocations: 107.2 kB / 448.8 MB, free: 9.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1161, allocations: 4 kB / 448.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.1164, allocations: 16 kB / 448.8 MB, free: 9.793 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.081e-05/0.1165, allocations: 95.25 kB / 448.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1167, allocations: 79.84 kB / 449 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1167, allocations: 0.6875 kB / 449 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.293e-05/0.1167, allocations: 15.98 kB / 449 MB, free: 9.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.1172, allocations: 71.75 kB / 449.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.1177, allocations: 320.8 kB / 449.4 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.1179, allocations: 0.7043 MB / 450.1 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.1179, allocations: 15.44 kB / 450.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1179, allocations: 0 / 450.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of Templates: time 0.002212/0.1201, allocations: 1.176 MB / 451.3 MB, free: 7.254 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches