Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 103.2 kB / 17.59 MB, free: 5.43 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.001145/0.001145, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.396/1.396, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 43.95 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1009, allocations: 49.45 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003507/0.1045, allocations: 1.526 MB / 352.3 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.105, allocations: 149 kB / 352.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1051, allocations: 7.938 kB / 352.4 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.945e-05/0.1052, allocations: 3.938 kB / 352.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.1054, allocations: 7.938 kB / 352.4 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.1057, allocations: 35.89 kB / 352.5 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.1058, allocations: 39.86 kB / 352.5 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1059, allocations: 8 kB / 352.5 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.106, allocations: 19.91 kB / 352.5 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.106, allocations: 7.938 kB / 352.5 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.106, allocations: 8 kB / 352.5 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.1061, allocations: 4 kB / 352.6 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.1061, allocations: 15.92 kB / 352.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.1062, allocations: 23.81 kB / 352.6 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.1063, allocations: 47.81 kB / 352.6 MB, free: 2.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1063, allocations: 0 / 352.6 MB, free: 2.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.1063, allocations: 3.984 kB / 352.6 MB, free: 2.496 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1063, allocations: 0 / 352.6 MB, free: 2.496 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005745/0.1069, allocations: 363.5 kB / 353 MB, free: 2.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.107, allocations: 12.03 kB / 353 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.107, allocations: 8.844 kB / 353 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1073, allocations: 188.2 kB / 353.2 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1073, allocations: 4.375 kB / 353.2 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.1073, allocations: 384 / 353.2 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.1077, allocations: 125.5 kB / 353.3 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1077, allocations: 192 / 353.3 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1077, allocations: 3.938 kB / 353.3 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.1077, allocations: 0 / 353.3 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.663e-05/0.1078, allocations: 27.91 kB / 353.4 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.1082, allocations: 257.8 kB / 353.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1084, allocations: 142.2 kB / 353.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/0.1085, allocations: 25.77 kB / 353.8 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1085, allocations: 8 kB / 353.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1085, allocations: 30.56 kB / 353.8 MB, free: 1.113 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.1085, allocations: 7.938 kB / 353.8 MB, free: 1.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002643/0.1088, allocations: 85.44 kB / 353.9 MB, free: 1.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.1089, allocations: 77.11 kB / 354 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.109, allocations: 137.5 kB / 354.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.109, allocations: 25.7 kB / 354.1 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.1091, allocations: 84.14 kB / 354.2 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.1091, allocations: 7.875 kB / 354.2 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.1092, allocations: 29.73 kB / 354.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1093, allocations: 314.8 kB / 354.6 MB, free: 308 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.1093, allocations: 11.98 kB / 354.6 MB, free: 296 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.59e-05/0.1094, allocations: 27.44 kB / 354.6 MB, free: 256 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.913e-05/0.1095, allocations: 47.36 kB / 354.6 MB, free: 196 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1095, allocations: 0 / 354.6 MB, free: 196 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001313/0.1096, allocations: 77.55 kB / 354.7 MB, free: 112 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1097, allocations: 4 kB / 354.7 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1097, allocations: 128 / 354.7 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1097, allocations: 8 kB / 354.7 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/0.1097, allocations: 4 kB / 354.7 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1098, allocations: 4 kB / 354.7 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.1098, allocations: 7.922 kB / 354.8 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1098, allocations: 4 kB / 354.8 MB, free: 80 kB / 286.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 9.906e-05/0.1099, allocations: 117.8 kB / 354.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.11, allocations: 49.59 kB / 354.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.11, allocations: 12.25 kB / 354.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1101, allocations: 4 kB / 354.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1101, allocations: 0 / 354.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1101, allocations: 0 / 354.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.1103, allocations: 173.6 kB / 355.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1103, allocations: 0 / 355.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.1103, allocations: 15.98 kB / 355.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1103, allocations: 0 / 355.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1103, allocations: 0 / 355.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1104, allocations: 3.938 kB / 355.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1104, allocations: 0 / 355.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.1105, allocations: 172.6 kB / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1106, allocations: 93 kB / 355.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1106, allocations: 0 / 355.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.531e-05/0.1107, allocations: 7.938 kB / 355.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.1107, allocations: 4.031 kB / 355.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1107, allocations: 4 kB / 355.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.063e-05/0.1108, allocations: 107.2 kB / 355.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1108, allocations: 0 / 355.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1111, allocations: 7.938 kB / 355.5 MB, free: 15.21 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.0001171/0.1112, allocations: 107.7 kB / 355.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.1113, allocations: 23.98 kB / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1114, allocations: 0 / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.256e-05/0.1114, allocations: 16.17 kB / 355.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.1118, allocations: 34.59 kB / 355.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.1122, allocations: 176 kB / 355.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.1125, allocations: 0.6885 MB / 356.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.1125, allocations: 7.438 kB / 356.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1125, allocations: 4 kB / 356.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Templates: time 0.002329/0.1148, allocations: 0.6796 MB / 357.2 MB, free: 13.41 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches