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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 106.3 kB / 16.45 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 186.4 kB / 17.39 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08201/0.08201, allocations: 12.59 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 88.09 kB / 394.2 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1164, allocations: 49.42 MB / 443.6 MB, free: 468 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002919/0.1193, allocations: 1.591 MB / 445.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1206, allocations: 0.6047 MB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1207, allocations: 4 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.439e-05/0.1208, allocations: 7.875 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.1211, allocations: 35.78 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1214, allocations: 59.81 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1215, allocations: 75.77 kB / 446 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1216, allocations: 36.12 kB / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1218, allocations: 27.91 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.1219, allocations: 35.78 kB / 446.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.1219, allocations: 8 kB / 446.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.1219, allocations: 4 kB / 446.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.122, allocations: 19.92 kB / 446.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.122, allocations: 43.72 kB / 446.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1222, allocations: 79.66 kB / 446.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1222, allocations: 0 / 446.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1222, allocations: 4 kB / 446.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1222, allocations: 0 / 446.2 MB, free: 13.81 MB / 334.1 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.0006506/0.1229, allocations: 407 kB / 446.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.123, allocations: 8.031 kB / 446.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.123, allocations: 12.84 kB / 446.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1233, allocations: 204 kB / 446.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.1233, allocations: 8.375 kB / 446.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.1234, allocations: 8.375 kB / 446.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.1239, allocations: 233.8 kB / 447.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1239, allocations: 4 kB / 447.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1239, allocations: 0 / 447.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.1239, allocations: 4 kB / 447.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.1241, allocations: 47.97 kB / 447.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.1246, allocations: 298.5 kB / 447.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1248, allocations: 99.77 kB / 447.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.1249, allocations: 58.73 kB / 447.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.125, allocations: 0 / 447.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.125, allocations: 42.56 kB / 447.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.125, allocations: 0 / 447.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.00047/0.1255, allocations: 145.4 kB / 447.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.1256, allocations: 114.7 kB / 447.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1258, allocations: 137.8 kB / 448 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1258, allocations: 33.7 kB / 448 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.1259, allocations: 88.27 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.1259, allocations: 15.89 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.1259, allocations: 25.72 kB / 448.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1261, allocations: 322.8 kB / 448.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.866e-05/0.1262, allocations: 19.98 kB / 448.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1263, allocations: 93.31 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.1265, allocations: 121.2 kB / 448.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1265, allocations: 0 / 448.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002212/0.1267, allocations: 137.2 kB / 448.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1267, allocations: 8 kB / 448.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1267, allocations: 0 / 448.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1268, allocations: 4 kB / 448.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1269, allocations: 23.98 kB / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1269, allocations: 8.281 kB / 448.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.127, allocations: 12 kB / 448.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.127, allocations: 8 kB / 448.9 MB, free: 10.77 MB / 334.1 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 0.0001181/0.1271, allocations: 141.6 kB / 449 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.1273, allocations: 94.08 kB / 449.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.1274, allocations: 16.31 kB / 449.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1274, allocations: 4 kB / 449.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1274, allocations: 64 / 449.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1274, allocations: 7.984 kB / 449.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.1276, allocations: 185.5 kB / 449.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1276, allocations: 8 kB / 449.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.1277, allocations: 23.92 kB / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1277, allocations: 0 / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1278, allocations: 3.984 kB / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1278, allocations: 4 kB / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1278, allocations: 0 / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.1281, allocations: 229 kB / 449.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.1282, allocations: 100.9 kB / 449.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1282, allocations: 4 kB / 449.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.1283, allocations: 8 kB / 449.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1284, allocations: 3.984 kB / 449.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1284, allocations: 7.938 kB / 449.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.717e-05/0.1285, allocations: 111.9 kB / 449.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1285, allocations: 0 / 449.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1287, allocations: 16 kB / 449.9 MB, free: 9.715 MB / 334.1 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 0.000105/0.1289, allocations: 103.2 kB / 450 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.1291, allocations: 71.84 kB / 450 MB, free: 9.535 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/0.1291, allocations: 4 kB / 450 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.1292, allocations: 8.672 kB / 450 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1296, allocations: 71.89 kB / 450.1 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.1303, allocations: 253.2 kB / 450.4 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1306, allocations: 0.7041 MB / 451.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.549e-05/0.1306, allocations: 8.5 kB / 451.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.1307, allocations: 19.44 kB / 451.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of SimCode: time 2.284e-06/0.1307, allocations: 0 / 451.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of Templates: time 0.003462/0.1342, allocations: 0.9695 MB / 452.1 MB, free: 7.441 MB / 334.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches