Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.00165, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.549/1.549, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 60.84 kB / 307.9 MB, free: 492 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1235, allocations: 50.55 MB / 358.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003469/0.127, allocations: 1.678 MB / 360.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005091/0.1275, allocations: 171.3 kB / 360.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1277, allocations: 0 / 360.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.084e-05/0.1277, allocations: 7.875 kB / 360.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1279, allocations: 15.92 kB / 360.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1282, allocations: 51.84 kB / 360.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1283, allocations: 51.89 kB / 360.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1284, allocations: 31.97 kB / 360.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.1285, allocations: 19.88 kB / 360.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.1286, allocations: 31.84 kB / 360.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1286, allocations: 7.938 kB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.1286, allocations: 4 kB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.1287, allocations: 19.92 kB / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.1287, allocations: 35.73 kB / 360.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1289, allocations: 67.72 kB / 360.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1289, allocations: 0 / 360.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1289, allocations: 0 / 360.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1289, allocations: 0 / 360.6 MB, free: 11.72 MB / 302.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.0005827/0.1295, allocations: 395.3 kB / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1295, allocations: 8.031 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.1296, allocations: 8.844 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1298, allocations: 196.1 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.501e-05/0.1299, allocations: 8.375 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.13, allocations: 4.375 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.1303, allocations: 166.3 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1304, allocations: 4.172 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.1304, allocations: 7.938 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1304, allocations: 4 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1305, allocations: 35.97 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.1311, allocations: 365.8 kB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.1314, allocations: 123.8 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1315, allocations: 58.61 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.1316, allocations: 4 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.1316, allocations: 38.5 kB / 362 MB, free: 10.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1316, allocations: 0 / 362 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003685/0.132, allocations: 125.5 kB / 362.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.1321, allocations: 106.8 kB / 362.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1322, allocations: 133.8 kB / 362.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1323, allocations: 29.7 kB / 362.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.1323, allocations: 88.12 kB / 362.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1324, allocations: 15.84 kB / 362.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.1324, allocations: 17.72 kB / 362.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1326, allocations: 327.1 kB / 362.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.1327, allocations: 15.98 kB / 362.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1328, allocations: 63.72 kB / 362.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.133, allocations: 103.7 kB / 363 MB, free: 8.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.133, allocations: 0 / 363 MB, free: 8.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002093/0.1332, allocations: 109.3 kB / 363.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1332, allocations: 10.02 kB / 363.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1332, allocations: 4 kB / 363.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1333, allocations: 4.281 kB / 363.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.1333, allocations: 19.94 kB / 363.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.1334, allocations: 7.984 kB / 363.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.1334, allocations: 4 kB / 363.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1334, allocations: 8 kB / 363.2 MB, free: 8.816 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 0.0001397/0.1336, allocations: 125.7 kB / 363.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.1337, allocations: 85.58 kB / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.1338, allocations: 20.7 kB / 363.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1338, allocations: 0 / 363.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.1338, allocations: 4 kB / 363.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1338, allocations: 7.938 kB / 363.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.1341, allocations: 177.6 kB / 363.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1341, allocations: 0 / 363.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.1342, allocations: 19.98 kB / 363.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1342, allocations: 0 / 363.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1343, allocations: 12 kB / 363.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1343, allocations: 0 / 363.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1343, allocations: 3.938 kB / 363.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.1347, allocations: 312.3 kB / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.1348, allocations: 93 kB / 364 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1348, allocations: 11.94 kB / 364 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.1349, allocations: 0 / 364 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.135, allocations: 4 kB / 364 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.135, allocations: 8 kB / 364.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.541e-05/0.1351, allocations: 107.2 kB / 364.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1351, allocations: 3.938 kB / 364.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1354, allocations: 12 kB / 364.2 MB, free: 7.723 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.0001377/0.1355, allocations: 99.19 kB / 364.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1358, allocations: 72.34 kB / 364.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1358, allocations: 0 / 364.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.1358, allocations: 11.98 kB / 364.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.1364, allocations: 46.56 kB / 364.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.1369, allocations: 229.5 kB / 364.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1372, allocations: 0.6979 MB / 365.3 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.1373, allocations: 15.44 kB / 365.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1373, allocations: 0 / 365.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of Templates: time 0.002921/0.1402, allocations: 0.9167 MB / 366.3 MB, free: 5.574 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches