Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 110 kB / 17.68 MB, free: 5.332 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.00174/0.00174, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 56.03 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1205, allocations: 49.43 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003058/0.1236, allocations: 1.573 MB / 353.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009428/0.1245, allocations: 0.4962 MB / 353.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.1246, allocations: 0 / 353.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.1247, allocations: 3.938 kB / 353.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.1248, allocations: 27.84 kB / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1251, allocations: 51.83 kB / 353.6 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1253, allocations: 47.8 kB / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1254, allocations: 20.16 kB / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.237e-05/0.1255, allocations: 23.92 kB / 353.7 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.1255, allocations: 19.86 kB / 353.8 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1256, allocations: 4 kB / 353.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.1256, allocations: 8 kB / 353.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.1256, allocations: 11.94 kB / 353.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.1257, allocations: 31.78 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.1258, allocations: 51.7 kB / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1258, allocations: 0 / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1258, allocations: 0 / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1258, allocations: 0 / 353.9 MB, free: 1.301 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005975/0.1264, allocations: 383 kB / 354.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1265, allocations: 15.89 kB / 354.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.1265, allocations: 8.844 kB / 354.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.1268, allocations: 200.1 kB / 354.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1268, allocations: 4.375 kB / 354.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1269, allocations: 8.312 kB / 354.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.1272, allocations: 118 kB / 354.6 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1272, allocations: 0 / 354.6 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1272, allocations: 0 / 354.6 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1272, allocations: 0 / 354.6 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.461e-05/0.1273, allocations: 31.91 kB / 354.6 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.1277, allocations: 274.6 kB / 354.9 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1278, allocations: 67.78 kB / 354.9 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.1279, allocations: 30.58 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1279, allocations: 4 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.128, allocations: 38.55 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.128, allocations: 3.938 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000271/0.1282, allocations: 85.52 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.1283, allocations: 107.1 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1284, allocations: 144.8 kB / 355.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1285, allocations: 33.69 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.1285, allocations: 92.08 kB / 355.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.1286, allocations: 7.906 kB / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.1286, allocations: 17.72 kB / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1287, allocations: 322.8 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.1287, allocations: 8 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.021e-05/0.1288, allocations: 43.41 kB / 355.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.1289, allocations: 43.36 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1289, allocations: 0 / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001301/0.129, allocations: 69.61 kB / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1291, allocations: 4 kB / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1291, allocations: 4 kB / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1291, allocations: 0 / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.1292, allocations: 15.92 kB / 356 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1292, allocations: 0 / 356 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.1293, allocations: 11.91 kB / 356 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1293, allocations: 0 / 356 MB, free: 14.85 MB / 302.1 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 8.956e-05/0.1294, allocations: 129.8 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.1295, allocations: 53.53 kB / 356.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.1295, allocations: 11.88 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1295, allocations: 3.984 kB / 356.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1295, allocations: 4 kB / 356.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1295, allocations: 0 / 356.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1297, allocations: 181.6 kB / 356.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1297, allocations: 0 / 356.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.1298, allocations: 16.05 kB / 356.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1298, allocations: 0 / 356.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.1298, allocations: 3.938 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1298, allocations: 4 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1298, allocations: 0 / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.1301, allocations: 185 kB / 356.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.1302, allocations: 89 kB / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.1302, allocations: 7.938 kB / 356.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.1303, allocations: 0 / 356.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.1303, allocations: 7.984 kB / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1303, allocations: 4 kB / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.045e-05/0.1304, allocations: 103.3 kB / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1304, allocations: 0 / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.1307, allocations: 8 kB / 356.8 MB, free: 13.94 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: 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 0.0001415/0.1308, allocations: 103.2 kB / 356.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.131, allocations: 35.92 kB / 356.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.131, allocations: 0 / 356.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.1311, allocations: 7.984 kB / 356.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1314, allocations: 27.91 kB / 357 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.1319, allocations: 196.9 kB / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.1322, allocations: 0.6885 MB / 357.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.197e-05/0.1322, allocations: 4 kB / 357.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.1323, allocations: 7.438 kB / 357.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1323, allocations: 0 / 357.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Templates: time 0.002906/0.1352, allocations: 0.5956 MB / 358.5 MB, free: 12.22 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches