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.0007381/0.0007383, allocations: 88.3 kB / 16.65 MB, free: 6.535 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.0008175/0.0008175, allocations: 173.8 kB / 17.56 MB, free: 6.184 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.378/1.378, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 11.94 kB / 301.4 MB, free: 5.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1056, allocations: 50.41 MB / 351.8 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001995/0.1076, allocations: 1.395 MB / 353.2 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004557/0.1081, allocations: 163.4 kB / 353.4 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1082, allocations: 8 kB / 353.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.1083, allocations: 3.938 kB / 353.4 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.1084, allocations: 7.984 kB / 353.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.1087, allocations: 43.84 kB / 353.5 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.1089, allocations: 55.8 kB / 353.5 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.109, allocations: 31.97 kB / 353.5 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.1091, allocations: 15.88 kB / 353.6 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.1091, allocations: 23.86 kB / 353.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.1092, allocations: 0 / 353.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.1092, allocations: 0 / 353.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.1092, allocations: 15.92 kB / 353.6 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.1093, allocations: 53.45 kB / 353.6 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1094, allocations: 59.72 kB / 353.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1094, allocations: 0 / 353.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1095, allocations: 0 / 353.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1095, allocations: 4 kB / 353.7 MB, free: 1.598 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.0005495/0.11, allocations: 379.5 kB / 354.1 MB, free: 1.176 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1101, allocations: 8.031 kB / 354.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.1101, allocations: 8.844 kB / 354.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1104, allocations: 204 kB / 354.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1104, allocations: 384 / 354.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.1104, allocations: 8.375 kB / 354.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.1108, allocations: 162.4 kB / 354.5 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1108, allocations: 8.109 kB / 354.5 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1108, allocations: 7.938 kB / 354.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1108, allocations: 0 / 354.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.111, allocations: 39.98 kB / 354.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.1114, allocations: 373.7 kB / 354.9 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.1116, allocations: 119.8 kB / 355 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.1117, allocations: 58.56 kB / 355.1 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1118, allocations: 4.156 kB / 355.1 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.1118, allocations: 46.48 kB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1118, allocations: 0 / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003398/0.1122, allocations: 121.5 kB / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.1123, allocations: 111.1 kB / 355.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1124, allocations: 140.6 kB / 355.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1124, allocations: 29.7 kB / 355.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.1125, allocations: 88.14 kB / 355.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1125, allocations: 7.891 kB / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.1125, allocations: 21.66 kB / 355.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1127, allocations: 314.8 kB / 355.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.503e-05/0.1127, allocations: 23.98 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.1128, allocations: 75.66 kB / 356 MB, free: 14.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1129, allocations: 107.5 kB / 356.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.113, allocations: 4 kB / 356.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.1132, allocations: 105.4 kB / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1132, allocations: 4 kB / 356.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1132, allocations: 4.281 kB / 356.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1132, allocations: 12 kB / 356.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.1133, allocations: 23.92 kB / 356.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1133, allocations: 4.312 kB / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.1134, allocations: 4 kB / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1134, allocations: 4 kB / 356.3 MB, free: 14.68 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.0001021/0.1135, allocations: 133.7 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.1136, allocations: 77.52 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.1137, allocations: 16.72 kB / 356.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1137, allocations: 4 kB / 356.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1137, allocations: 0 / 356.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1137, allocations: 0 / 356.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.114, allocations: 193.5 kB / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.114, allocations: 0 / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.114, allocations: 19.98 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1141, allocations: 0 / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1141, allocations: 8 kB / 356.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1141, allocations: 3.938 kB / 356.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1141, allocations: 0 / 356.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.1144, allocations: 320.2 kB / 357 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.1145, allocations: 93 kB / 357.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1145, allocations: 12.22 kB / 357.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.73e-05/0.1146, allocations: 7.984 kB / 357.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.1147, allocations: 4 kB / 357.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.1147, allocations: 7.938 kB / 357.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.309e-05/0.1148, allocations: 103.3 kB / 357.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1148, allocations: 0 / 357.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1151, allocations: 12 kB / 357.3 MB, free: 13.58 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.0001058/0.1152, allocations: 115 kB / 357.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.1153, allocations: 59.91 kB / 357.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1153, allocations: 0 / 357.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.1154, allocations: 16.56 kB / 357.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1158, allocations: 43.95 kB / 357.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.1161, allocations: 244.8 kB / 357.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1164, allocations: 0.7043 MB / 358.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.766e-05/0.1165, allocations: 4.672 kB / 358.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.1165, allocations: 11.44 kB / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1165, allocations: 0 / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Templates: time 0.002439/0.119, allocations: 0.6344 MB / 359.1 MB, free: 11.69 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/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