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.001019/0.001019, allocations: 91.58 kB / 16.65 MB, free: 6.59 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.0009892/0.0009896, allocations: 182.7 kB / 17.56 MB, free: 6.203 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.414/1.414, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002377/0.0002377, allocations: 15.92 kB / 301.4 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1064, allocations: 50.42 MB / 351.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.001705/0.1082, allocations: 1.257 MB / 353.1 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003405/0.1085, allocations: 143.6 kB / 353.2 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.1086, allocations: 0 / 353.2 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.1086, allocations: 3.938 kB / 353.2 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.1088, allocations: 7.984 kB / 353.2 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.109, allocations: 43.09 kB / 353.3 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.1091, allocations: 31.86 kB / 353.3 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.762e-05/0.1092, allocations: 12 kB / 353.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.1092, allocations: 15.92 kB / 353.3 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.1093, allocations: 11.92 kB / 353.4 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1093, allocations: 4 kB / 353.4 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.787e-06/0.1093, allocations: 0 / 353.4 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.1093, allocations: 11.92 kB / 353.4 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.1094, allocations: 41.58 kB / 353.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.124e-05/0.1095, allocations: 51.67 kB / 353.5 MB, free: 2.047 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1095, allocations: 0 / 353.5 MB, free: 2.047 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1095, allocations: 0 / 353.5 MB, free: 2.047 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1095, allocations: 0 / 353.5 MB, free: 2.047 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.0003965/0.1099, allocations: 363.6 kB / 353.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1099, allocations: 8.031 kB / 353.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.11, allocations: 8.844 kB / 353.8 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.1101, allocations: 188.1 kB / 354 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1102, allocations: 4.375 kB / 354 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1102, allocations: 8.359 kB / 354 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.1104, allocations: 121.5 kB / 354.2 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.1104, allocations: 192 / 354.2 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1105, allocations: 7.938 kB / 354.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1105, allocations: 0 / 354.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.1105, allocations: 23.98 kB / 354.2 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.1108, allocations: 257.8 kB / 354.4 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.111, allocations: 142.2 kB / 354.6 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/0.1111, allocations: 33.77 kB / 354.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.1111, allocations: 0 / 354.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1112, allocations: 42.5 kB / 354.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.1112, allocations: 0 / 354.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002273/0.1114, allocations: 89.5 kB / 354.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1115, allocations: 77.11 kB / 354.8 MB, free: 476 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1116, allocations: 134.1 kB / 354.9 MB, free: 328 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1116, allocations: 29.64 kB / 355 MB, free: 292 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.1116, allocations: 84.14 kB / 355.1 MB, free: 204 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.1116, allocations: 7.844 kB / 355.1 MB, free: 196 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.1117, allocations: 17.66 kB / 355.1 MB, free: 172 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1118, allocations: 323 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.1118, allocations: 8 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.686e-05/0.1119, allocations: 35.42 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.693e-05/0.112, allocations: 51.36 kB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.112, allocations: 0 / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001293/0.1121, allocations: 73.55 kB / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1122, allocations: 8.125 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1122, allocations: 0 / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1122, allocations: 4 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.987e-05/0.1123, allocations: 11.94 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1123, allocations: 0 / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/0.1123, allocations: 7.984 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1123, allocations: 4 kB / 355.6 MB, free: 15.61 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 7.29e-05/0.1124, allocations: 117.8 kB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.1125, allocations: 53.59 kB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.1125, allocations: 8.25 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1125, allocations: 4 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1125, allocations: 3.938 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1125, allocations: 0 / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1127, allocations: 169.6 kB / 355.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1127, allocations: 336 / 355.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.1128, allocations: 11.98 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1128, allocations: 4 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1128, allocations: 0 / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1128, allocations: 4 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1128, allocations: 4 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.113, allocations: 176.2 kB / 356.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.113, allocations: 93 kB / 356.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1131, allocations: 0 / 356.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.113e-05/0.1131, allocations: 8 kB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.1132, allocations: 3.938 kB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1132, allocations: 4 kB / 356.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.247e-05/0.1132, allocations: 110 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1132, allocations: 0 / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1135, allocations: 8 kB / 356.4 MB, free: 14.74 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 9.851e-05/0.1136, allocations: 99.19 kB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1137, allocations: 35.92 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1137, allocations: 0 / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.1138, allocations: 15.98 kB / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1141, allocations: 31.89 kB / 356.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.1144, allocations: 161.9 kB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1147, allocations: 0.6926 MB / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.154e-05/0.1147, allocations: 4 kB / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.1147, allocations: 7.438 kB / 357.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1147, allocations: 0 / 357.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Templates: time 0.002421/0.1172, allocations: 449.5 kB / 357.8 MB, free: 13.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/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