Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001979/0.001979, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 225.1 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 51.94 kB / 282.1 MB, free: 2.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09282, allocations: 46.62 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002721/0.09559, allocations: 1.197 MB / 329.9 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003503/0.09912, allocations: 2.01 MB / 331.9 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.09918, allocations: 0 / 331.9 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.09926, allocations: 0 / 331.9 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.1006, allocations: 430.6 kB / 332.3 MB, free: 120 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.709e-05/0.1006, allocations: 0 / 332.3 MB, free: 120 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.698e-05/0.1007, allocations: 15.94 kB / 332.3 MB, free: 104 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.1007, allocations: 0 / 332.3 MB, free: 104 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.516e-05/0.1008, allocations: 4 kB / 332.3 MB, free: 100 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1009, allocations: 15.92 kB / 332.4 MB, free: 84 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1009, allocations: 0 / 332.4 MB, free: 84 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007948/0.1017, allocations: 479.4 kB / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.1018, allocations: 0 / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.1018, allocations: 7.984 kB / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.1024, allocations: 335.4 kB / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1024, allocations: 0 / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1024, allocations: 0 / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.1024, allocations: 4 kB / 333.2 MB, free: 15.27 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000477/0.1029, allocations: 407.4 kB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.103, allocations: 12.03 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.1031, allocations: 76.22 kB / 333.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.1032, allocations: 247.6 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/0.1033, allocations: 154.9 kB / 334 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/0.1034, allocations: 158.6 kB / 334.2 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1035, allocations: 101 kB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.1035, allocations: 79.28 kB / 334.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.1036, allocations: 150.6 kB / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/0.1036, allocations: 150.6 kB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.1037, allocations: 158.5 kB / 334.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.104, allocations: 449.9 kB / 335.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.866e-05/0.1041, allocations: 169.1 kB / 335.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.1042, allocations: 88.08 kB / 335.5 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1042, allocations: 75.28 kB / 335.6 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.1043, allocations: 51.41 kB / 335.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.524e-06/0.1043, allocations: 3.938 kB / 335.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.1045, allocations: 33.64 kB / 335.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1045, allocations: 51.41 kB / 335.7 MB, free: 12.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/0.1046, allocations: 105.8 kB / 335.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1046, allocations: 25.7 kB / 335.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.1047, allocations: 80.14 kB / 335.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.1047, allocations: 3.906 kB / 335.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.1048, allocations: 17.84 kB / 336 MB, free: 12.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1049, allocations: 314.8 kB / 336.3 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.1049, allocations: 0 / 336.3 MB, free: 11.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.1049, allocations: 0 / 336.3 MB, free: 11.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.437e-05/0.1049, allocations: 16.78 kB / 336.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1049, allocations: 0 / 336.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.347e-05/0.105, allocations: 33.64 kB / 336.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.105, allocations: 11.94 kB / 336.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.105, allocations: 4.094 kB / 336.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1051, allocations: 0 / 336.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.972e-05/0.1051, allocations: 0 / 336.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1051, allocations: 0 / 336.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.1051, allocations: 4 kB / 336.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1051, allocations: 4 kB / 336.3 MB, free: 11.87 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.773e-05/0.1052, allocations: 109.8 kB / 336.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.1052, allocations: 3.984 kB / 336.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.1053, allocations: 11.08 kB / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1053, allocations: 4 kB / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1053, allocations: 0 / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1053, allocations: 0 / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1055, allocations: 157.6 kB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1055, allocations: 4 kB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-06/0.1055, allocations: 0 / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1055, allocations: 3.938 kB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.1055, allocations: 0 / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1055, allocations: 0 / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1055, allocations: 0 / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.243e-05/0.1056, allocations: 65.06 kB / 336.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.1057, allocations: 77.11 kB / 336.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1057, allocations: 4 kB / 336.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.1057, allocations: 0 / 336.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.1057, allocations: 0 / 336.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.1057, allocations: 4 kB / 336.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.182e-05/0.1058, allocations: 83.27 kB / 336.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1058, allocations: 0 / 336.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004333/0.1062, allocations: 135.9 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.000934/0.1072, allocations: 467.2 kB / 337.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.935e-05/0.1072, allocations: 7.938 kB / 337.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1072, allocations: 0 / 337.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.1073, allocations: 0 / 337.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.1074, allocations: 11.94 kB / 337.5 MB, free: 10.65 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.1077, allocations: 106.8 kB / 337.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.108, allocations: 0.6729 MB / 338.2 MB, free: 9.82 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.184e-05/0.108, allocations: 11.92 kB / 338.2 MB, free: 9.809 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.108, allocations: 11.44 kB / 338.3 MB, free: 9.797 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.108, allocations: 0 / 338.3 MB, free: 9.797 MB / 286.1 MB Notification: Performance of Templates: time 0.0064/0.1144, allocations: 2.782 MB / 341 MB, free: 7.012 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches