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.01082/0.01082, allocations: 88.09 kB / 15.91 MB, free: 6.301 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.001918/0.001918, allocations: 199.3 kB / 16.83 MB, free: 6.234 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.611/1.611, allocations: 205.1 MB / 222.7 MB, free: 5.035 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0789/0.0789, allocations: 12.59 MB / 282.6 MB, free: 9.133 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.001615/0.001615, allocations: 76.64 kB / 342.8 MB, free: 21.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1049, allocations: 49.41 MB / 392.2 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003171/0.1081, allocations: 1.652 MB / 393.8 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1092, allocations: 0.597 MB / 394.4 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.25e-05/0.1094, allocations: 3.938 kB / 394.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.913e-05/0.1094, allocations: 0 / 394.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.1097, allocations: 35.84 kB / 394.5 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1099, allocations: 59.88 kB / 394.5 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1101, allocations: 63.84 kB / 394.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1102, allocations: 20.16 kB / 394.6 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.1103, allocations: 31.91 kB / 394.7 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.603e-05/0.1103, allocations: 43.72 kB / 394.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1104, allocations: 4 kB / 394.7 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.1104, allocations: 0 / 394.7 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.1105, allocations: 23.91 kB / 394.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.1105, allocations: 31.8 kB / 394.8 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1107, allocations: 71.66 kB / 394.8 MB, free: 1.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1107, allocations: 0 / 394.8 MB, free: 1.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1107, allocations: 4 kB / 394.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1107, allocations: 0 / 394.8 MB, free: 1.086 MB / 286.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.0006859/0.1114, allocations: 407.3 kB / 395.2 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1114, allocations: 8.031 kB / 395.2 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.1115, allocations: 16.75 kB / 395.2 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.1117, allocations: 204 kB / 395.4 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1117, allocations: 12.31 kB / 395.5 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.1117, allocations: 12.3 kB / 395.5 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.1122, allocations: 221.2 kB / 395.7 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1122, allocations: 0 / 395.7 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1122, allocations: 7.938 kB / 395.7 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1122, allocations: 0 / 395.7 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1124, allocations: 59.89 kB / 395.8 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.1127, allocations: 290.4 kB / 396 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.1129, allocations: 103.8 kB / 396.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.113, allocations: 50.75 kB / 396.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1131, allocations: 7.984 kB / 396.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1131, allocations: 34.5 kB / 396.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1131, allocations: 0 / 396.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003877/0.1135, allocations: 145.5 kB / 396.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.1136, allocations: 110.8 kB / 396.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1137, allocations: 145.6 kB / 396.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1137, allocations: 29.7 kB / 396.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.1138, allocations: 88.14 kB / 396.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.1138, allocations: 11.89 kB / 396.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1138, allocations: 37.73 kB / 396.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.1139, allocations: 318.8 kB / 397.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.114, allocations: 23.92 kB / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1141, allocations: 93.42 kB / 397.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.1143, allocations: 117.2 kB / 397.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1143, allocations: 0 / 397.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002517/0.1145, allocations: 137.9 kB / 397.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1146, allocations: 4 kB / 397.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1146, allocations: 4 kB / 397.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1146, allocations: 4 kB / 397.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1147, allocations: 27.92 kB / 397.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1147, allocations: 4 kB / 397.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.1148, allocations: 15.94 kB / 397.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1148, allocations: 4 kB / 397.5 MB, free: 14.04 MB / 302.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.0001111/0.1149, allocations: 145.8 kB / 397.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.1151, allocations: 97.48 kB / 397.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.1152, allocations: 20.3 kB / 397.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1152, allocations: 0 / 397.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1152, allocations: 0 / 397.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.1152, allocations: 4 kB / 397.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.1154, allocations: 185.6 kB / 398 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1154, allocations: 0 / 398 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1155, allocations: 23.92 kB / 398 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1155, allocations: 0 / 398 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1156, allocations: 15.92 kB / 398 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1156, allocations: 0 / 398 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1156, allocations: 0 / 398 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.1159, allocations: 229 kB / 398.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.116, allocations: 100.9 kB / 398.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.116, allocations: 4 kB / 398.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.565e-05/0.1161, allocations: 11.98 kB / 398.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.1161, allocations: 4 kB / 398.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1162, allocations: 0 / 398.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.558e-05/0.1162, allocations: 111.2 kB / 398.5 MB, free: 13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1162, allocations: 0 / 398.5 MB, free: 13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1165, allocations: 16 kB / 398.5 MB, free: 12.99 MB / 302.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 9.329e-05/0.1166, allocations: 91.25 kB / 398.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.1168, allocations: 87.83 kB / 398.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1168, allocations: 0 / 398.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/0.1169, allocations: 4 kB / 398.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.1173, allocations: 68.31 kB / 398.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006728/0.118, allocations: 299.5 kB / 399 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1184, allocations: 0.7043 MB / 399.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.96e-05/0.1185, allocations: 12.5 kB / 399.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.1185, allocations: 19.42 kB / 399.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1185, allocations: 0 / 399.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Templates: time 0.003797/0.1223, allocations: 0.8725 MB / 400.6 MB, free: 10.78 MB / 302.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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches