Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001157, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008068/0.0008068, allocations: 86.44 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002947, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2879, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001188/0.2892, allocations: 0.9165 MB / 377.5 MB, free: 44.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.2923, allocations: 2.881 MB / 380.4 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.2923, allocations: 0 / 380.4 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.2923, allocations: 3.938 kB / 380.4 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001/0.2933, allocations: 325 kB / 380.7 MB, free: 42.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.064e-05/0.2934, allocations: 5.281 kB / 380.7 MB, free: 42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.681e-05/0.2934, allocations: 12.81 kB / 380.7 MB, free: 42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.2935, allocations: 1.469 kB / 380.7 MB, free: 42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.2935, allocations: 6.609 kB / 380.7 MB, free: 41.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.2938, allocations: 12.86 kB / 380.7 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.2938, allocations: 4 kB / 380.8 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006605/0.2945, allocations: 401.2 kB / 381.1 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.2945, allocations: 5.078 kB / 381.1 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.2945, allocations: 26.92 kB / 381.2 MB, free: 41.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.295, allocations: 331.4 kB / 381.5 MB, free: 41.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.295, allocations: 0 / 381.5 MB, free: 41.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.295, allocations: 1.375 kB / 381.5 MB, free: 41.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.295, allocations: 0 / 381.5 MB, free: 41.57 MB / 298.7 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.0003367/0.2954, allocations: 405.1 kB / 381.9 MB, free: 41.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2954, allocations: 8.812 kB / 381.9 MB, free: 41.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.2955, allocations: 81.31 kB / 382 MB, free: 41.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.2956, allocations: 243 kB / 382.2 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.2956, allocations: 159.9 kB / 382.4 MB, free: 40.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.2957, allocations: 155.8 kB / 382.5 MB, free: 40.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.087e-05/0.2957, allocations: 101 kB / 382.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.2957, allocations: 80.25 kB / 382.7 MB, free: 40.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.2958, allocations: 150.6 kB / 382.9 MB, free: 40.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.2958, allocations: 151.5 kB / 383 MB, free: 40.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.2959, allocations: 158.5 kB / 383.2 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.296, allocations: 448 kB / 383.6 MB, free: 39.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.2961, allocations: 170.9 kB / 383.8 MB, free: 39.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.2961, allocations: 88.08 kB / 383.8 MB, free: 39.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2961, allocations: 80.27 kB / 383.9 MB, free: 39.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.2963, allocations: 47.52 kB / 384 MB, free: 38.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 2.855e-06/0.2963, allocations: 0 / 384 MB, free: 38.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.2964, allocations: 38.53 kB / 384 MB, free: 38.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.2965, allocations: 52.62 kB / 384.1 MB, free: 38.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.18e-05/0.2965, allocations: 104.1 kB / 384.2 MB, free: 38.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.2966, allocations: 25.7 kB / 384.2 MB, free: 38.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.2966, allocations: 85.25 kB / 384.3 MB, free: 38.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.2966, allocations: 0 / 384.3 MB, free: 38.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.2966, allocations: 1 kB / 384.3 MB, free: 38.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.024e-05/0.2967, allocations: 315 kB / 384.6 MB, free: 38.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-06/0.2967, allocations: 8.875 kB / 384.6 MB, free: 38.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-06/0.2967, allocations: 1.094 kB / 384.6 MB, free: 38.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.105e-05/0.2967, allocations: 7.266 kB / 384.6 MB, free: 38.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2967, allocations: 1.219 kB / 384.6 MB, free: 38.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.521e-05/0.2968, allocations: 42.53 kB / 384.6 MB, free: 38.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2968, allocations: 4.656 kB / 384.6 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2968, allocations: 1.344 kB / 384.6 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2968, allocations: 0 / 384.6 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.226e-05/0.2969, allocations: 4.094 kB / 384.6 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.2969, allocations: 5.156 kB / 384.7 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.496e-05/0.2969, allocations: 3.938 kB / 384.7 MB, free: 38.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.2969, allocations: 1.375 kB / 384.7 MB, free: 38.26 MB / 298.7 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 5.658e-05/0.297, allocations: 118.8 kB / 384.8 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.297, allocations: 1.031 kB / 384.8 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.297, allocations: 12.12 kB / 384.8 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.297, allocations: 1.094 kB / 384.8 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.297, allocations: 0 / 384.8 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2971, allocations: 4 kB / 384.8 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.815e-05/0.2971, allocations: 149.1 kB / 384.9 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2972, allocations: 3.984 kB / 384.9 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.2972, allocations: 4 kB / 384.9 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.2972, allocations: 1.375 kB / 384.9 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2972, allocations: 0 / 384.9 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2972, allocations: 0 / 384.9 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2972, allocations: 1.312 kB / 384.9 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.441e-05/0.2973, allocations: 58.8 kB / 385 MB, free: 37.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.2973, allocations: 82.44 kB / 385.1 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.2973, allocations: 5.531 kB / 385.1 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/0.2973, allocations: 0 / 385.1 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.2973, allocations: 3.938 kB / 385.1 MB, free: 37.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.2974, allocations: 0.9688 kB / 385.1 MB, free: 37.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.862e-05/0.2974, allocations: 84.3 kB / 385.2 MB, free: 37.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2974, allocations: 0 / 385.2 MB, free: 37.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004702/0.2979, allocations: 134.7 kB / 385.3 MB, free: 37.62 MB / 298.7 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.00093/0.2988, allocations: 0.5048 MB / 385.8 MB, free: 37.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.076e-05/0.2989, allocations: 3.469 kB / 385.8 MB, free: 37.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2989, allocations: 1.312 kB / 385.8 MB, free: 37.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.2989, allocations: 1.156 kB / 385.8 MB, free: 37.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.299, allocations: 5.281 kB / 385.8 MB, free: 37.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002047/0.2992, allocations: 122.9 kB / 385.9 MB, free: 37.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.2994, allocations: 0.6723 MB / 386.6 MB, free: 36.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.496e-05/0.2994, allocations: 8.953 kB / 386.6 MB, free: 36.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.2994, allocations: 11.03 kB / 386.6 MB, free: 36.52 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2994, allocations: 1.125 kB / 386.6 MB, free: 36.52 MB / 298.7 MB Notification: Performance of Templates: time 0.005697/0.3051, allocations: 2.756 MB / 389.4 MB, free: 35.07 MB / 298.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches