Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 117.8 kB / 17.7 MB, free: 5.305 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.001366/0.001366, allocations: 192 kB / 18.63 MB, free: 4.375 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.442/1.442, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001046, allocations: 43.59 kB / 302.1 MB, free: 5.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1219, allocations: 49.44 MB / 351.5 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003079/0.125, allocations: 1.669 MB / 353.2 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004571/0.1255, allocations: 171.4 kB / 353.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1256, allocations: 7.938 kB / 353.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.94e-05/0.1257, allocations: 3.938 kB / 353.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.1258, allocations: 11.86 kB / 353.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1261, allocations: 51.39 kB / 353.4 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1262, allocations: 55.86 kB / 353.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1263, allocations: 27.97 kB / 353.5 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.1264, allocations: 23.86 kB / 353.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.1264, allocations: 23.86 kB / 353.5 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1264, allocations: 8 kB / 353.6 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.1265, allocations: 4 kB / 353.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.1265, allocations: 19.92 kB / 353.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.1266, allocations: 35.73 kB / 353.6 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1267, allocations: 63.73 kB / 353.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1267, allocations: 0 / 353.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1267, allocations: 4 kB / 353.7 MB, free: 1.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1268, allocations: 0 / 353.7 MB, free: 1.57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004902/0.1272, allocations: 391 kB / 354.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1273, allocations: 19.97 kB / 354.1 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.1273, allocations: 8.844 kB / 354.1 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1276, allocations: 204 kB / 354.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1276, allocations: 12.38 kB / 354.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1277, allocations: 4.375 kB / 354.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.128, allocations: 167.2 kB / 354.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.128, allocations: 4.172 kB / 354.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.128, allocations: 3.938 kB / 354.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.128, allocations: 4 kB / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1281, allocations: 35.97 kB / 354.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.1286, allocations: 365.8 kB / 354.9 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.1288, allocations: 115.8 kB / 355 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1289, allocations: 62.61 kB / 355 MB, free: 0 / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.129, allocations: 256 / 355 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.129, allocations: 42.39 kB / 355.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.129, allocations: 0 / 355.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003206/0.1293, allocations: 133.6 kB / 355.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.1294, allocations: 102.8 kB / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1295, allocations: 140.3 kB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1296, allocations: 33.7 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.1296, allocations: 92.06 kB / 355.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.1296, allocations: 11.91 kB / 355.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.1297, allocations: 17.72 kB / 355.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1298, allocations: 322.8 kB / 355.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.733e-05/0.1299, allocations: 16.02 kB / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.1299, allocations: 67.72 kB / 356 MB, free: 14.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1301, allocations: 95.53 kB / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1301, allocations: 4 kB / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001656/0.1302, allocations: 109.4 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1303, allocations: 4 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1303, allocations: 7.984 kB / 356.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1303, allocations: 0 / 356.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.1304, allocations: 20.22 kB / 356.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1304, allocations: 8 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.1304, allocations: 7.984 kB / 356.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1305, allocations: 4.188 kB / 356.3 MB, free: 14.65 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 9.212e-05/0.1306, allocations: 137.6 kB / 356.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.1307, allocations: 77.53 kB / 356.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.1307, allocations: 12.72 kB / 356.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1307, allocations: 3.984 kB / 356.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1307, allocations: 0 / 356.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1308, allocations: 4 kB / 356.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.131, allocations: 193.5 kB / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.131, allocations: 0 / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.1311, allocations: 19.98 kB / 356.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1311, allocations: 0 / 356.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1311, allocations: 4 kB / 356.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1311, allocations: 0 / 356.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1311, allocations: 7.938 kB / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.1315, allocations: 312.3 kB / 357 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.339e-05/0.1316, allocations: 96.98 kB / 357.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1316, allocations: 7.938 kB / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.527e-05/0.1317, allocations: 4 kB / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.1318, allocations: 4 kB / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1318, allocations: 3.938 kB / 357.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.548e-05/0.1319, allocations: 119.2 kB / 357.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1319, allocations: 0 / 357.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1322, allocations: 12 kB / 357.3 MB, free: 13.54 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 (10): * Single equations (assignments): 10 * 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.0001102/0.1323, allocations: 99.72 kB / 357.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.1325, allocations: 64.28 kB / 357.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1325, allocations: 4.125 kB / 357.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/0.1325, allocations: 11.98 kB / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.133, allocations: 46.77 kB / 357.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.1334, allocations: 200.2 kB / 357.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1337, allocations: 0.7003 MB / 358.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.1337, allocations: 4.672 kB / 358.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.1338, allocations: 15.52 kB / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1338, allocations: 3.938 kB / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Templates: time 0.003376/0.1371, allocations: 0.7014 MB / 359.1 MB, free: 11.64 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches