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.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, 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.001715/0.001715, 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.529/1.529, allocations: 227.7 MB / 247.7 MB, free: 10.32 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.001975/0.001975, allocations: 63.64 kB / 307.9 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1068, allocations: 50.55 MB / 358.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003327/0.1102, allocations: 1.548 MB / 360 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004222/0.1106, allocations: 143.5 kB / 360.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.1107, allocations: 0 / 360.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.896e-05/0.1108, allocations: 7.922 kB / 360.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1109, allocations: 7.938 kB / 360.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1112, allocations: 35.91 kB / 360.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1113, allocations: 35.86 kB / 360.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1114, allocations: 27.95 kB / 360.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.1115, allocations: 11.94 kB / 360.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.1115, allocations: 11.92 kB / 360.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1116, allocations: 0 / 360.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.1116, allocations: 4 kB / 360.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1117, allocations: 15.92 kB / 360.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.1117, allocations: 23.81 kB / 360.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1118, allocations: 47.81 kB / 360.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1119, allocations: 0 / 360.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1119, allocations: 0 / 360.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1119, allocations: 0 / 360.4 MB, free: 12.02 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005394/0.1124, allocations: 371.4 kB / 360.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1125, allocations: 8.031 kB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.1125, allocations: 12.84 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1127, allocations: 192.1 kB / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1128, allocations: 4.375 kB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.1128, allocations: 384 / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.1131, allocations: 117.6 kB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1131, allocations: 4.125 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1131, allocations: 7.938 kB / 361.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1131, allocations: 0 / 361.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.1132, allocations: 15.98 kB / 361.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.1136, allocations: 269.8 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.1138, allocations: 142.2 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.986e-05/0.1139, allocations: 29.77 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1139, allocations: 11.92 kB / 361.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.114, allocations: 34.5 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.114, allocations: 0 / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002715/0.1143, allocations: 73.58 kB / 361.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.1143, allocations: 81.05 kB / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1145, allocations: 136.8 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1145, allocations: 29.83 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.1146, allocations: 88.12 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.1146, allocations: 7.938 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.1147, allocations: 21.62 kB / 362 MB, free: 10.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1148, allocations: 314.8 kB / 362.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.1149, allocations: 7.984 kB / 362.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/0.1149, allocations: 39.59 kB / 362.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.798e-05/0.115, allocations: 47.36 kB / 362.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.115, allocations: 0 / 362.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001372/0.1152, allocations: 69.56 kB / 362.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1152, allocations: 4 kB / 362.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1152, allocations: 0 / 362.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1152, allocations: 4 kB / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.1153, allocations: 15.92 kB / 362.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1153, allocations: 0 / 362.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.505e-05/0.1154, allocations: 4 kB / 362.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1154, allocations: 0 / 362.5 MB, free: 9.594 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 0.0001003/0.1155, allocations: 125.9 kB / 362.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-05/0.1156, allocations: 45.61 kB / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.1156, allocations: 16.23 kB / 362.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1156, allocations: 0 / 362.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1156, allocations: 0 / 362.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1156, allocations: 4 kB / 362.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.1159, allocations: 169.6 kB / 362.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1159, allocations: 0 / 362.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.1159, allocations: 11.94 kB / 362.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1159, allocations: 0 / 362.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1159, allocations: 0 / 362.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1159, allocations: 4 kB / 362.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.116, allocations: 7.984 kB / 362.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.1161, allocations: 168.2 kB / 363 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.1162, allocations: 93 kB / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1162, allocations: 4 kB / 363.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.1163, allocations: 7.922 kB / 363.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.1164, allocations: 4 kB / 363.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1164, allocations: 4 kB / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.516e-05/0.1164, allocations: 107.2 kB / 363.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1165, allocations: 0 / 363.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1167, allocations: 4 kB / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000131/0.1168, allocations: 99.23 kB / 363.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.117, allocations: 36.11 kB / 363.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.117, allocations: 0 / 363.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.362e-05/0.117, allocations: 8 kB / 363.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.1174, allocations: 22.36 kB / 363.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.1178, allocations: 176.2 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1182, allocations: 0.7034 MB / 364.3 MB, free: 7.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.1182, allocations: 11.44 kB / 364.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1182, allocations: 0 / 364.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of Templates: time 0.002362/0.1206, allocations: 0.6878 MB / 365 MB, free: 6.918 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches