Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.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.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 179.2 kB / 17.36 MB, free: 4.449 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.284/1.284, allocations: 205.6 MB / 223.7 MB, free: 8.957 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.0007647/0.0007647, allocations: 86.44 kB / 272.1 MB, free: 8.152 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002442/0.0002442, allocations: 8 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2114, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01163/0.2231, allocations: 14.62 MB / 391.2 MB, free: 33.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008268/0.2314, allocations: 5.176 MB / 396.4 MB, free: 28.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003531/0.235, allocations: 107.7 kB / 396.5 MB, free: 28.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.238, allocations: 1.034 MB / 397.5 MB, free: 27.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005668/0.2437, allocations: 1.726 MB / 399.3 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.2473, allocations: 1.631 MB / 400.9 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008002/0.2553, allocations: 8.32 MB / 409.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0386/0.294, allocations: 27.87 MB / 437.1 MB, free: 1.887 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00603/0.3001, allocations: 3.53 MB / 440.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006568/0.3067, allocations: 4.068 MB / 444.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001923/0.3086, allocations: 0.5508 MB / 445.2 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00355/0.3122, allocations: 0.7927 MB / 446 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002782/0.315, allocations: 1.631 MB / 447.7 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007672/0.3227, allocations: 4.204 MB / 451.9 MB, free: 3.043 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.342, allocations: 17.39 MB / 469.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.3421, allocations: 0 / 469.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3421, allocations: 7.938 kB / 469.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004951/0.3426, allocations: 0 / 469.3 MB, free: 1.586 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02333/0.366, allocations: 8.768 MB / 478 MB, free: 8.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.366, allocations: 8.031 kB / 478 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02705/0.3931, allocations: 5.733 MB / 483.8 MB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009579/0.4027, allocations: 4.837 MB / 488.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007132/0.4034, allocations: 0.6986 MB / 489.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003252/0.4067, allocations: 0.9256 MB / 490.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3467/0.7534, allocations: 13.54 MB / 0.492 GB, free: 92.84 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002743/0.7538, allocations: 8.219 kB / 0.492 GB, free: 92.84 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001794/0.7556, allocations: 388.2 kB / 0.4923 GB, free: 92.84 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004409/0.756, allocations: 457.3 kB / 0.4928 GB, free: 92.82 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02411/0.7802, allocations: 12.77 MB / 0.5052 GB, free: 87.97 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05458/0.8348, allocations: 47.05 MB / 0.5512 GB, free: 45.48 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009837/0.8447, allocations: 17.1 MB / 0.5679 GB, free: 26.05 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.8468, allocations: 1.899 MB / 0.5697 GB, free: 24.14 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007619/0.8544, allocations: 6.095 MB / 0.5757 GB, free: 18 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.8545, allocations: 60.42 kB / 0.5758 GB, free: 17.93 MB / 378.8 MB Notification: Performance of pre-optimization done (n=194): time 3.066e-06/0.8545, allocations: 8 kB / 0.5758 GB, free: 17.93 MB / 378.8 MB Notification: Performance of matching and sorting (n=194): time 0.006236/0.8607, allocations: 4.406 MB / 0.5801 GB, free: 13.5 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.8608, allocations: 73.41 kB / 0.5801 GB, free: 13.41 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/0.8641, allocations: 3.297 MB / 0.5834 GB, free: 10.09 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/0.8642, allocations: 57.7 kB / 0.5834 GB, free: 10.03 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.8655, allocations: 4.183 MB / 0.5875 GB, free: 5.824 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.8659, allocations: 0.7086 MB / 0.5882 GB, free: 5.121 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.8661, allocations: 104 kB / 0.5883 GB, free: 5.02 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.8662, allocations: 0.509 MB / 0.5888 GB, free: 4.504 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.8684, allocations: 2.063 MB / 0.5908 GB, free: 2.434 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003656/0.872, allocations: 4.703 MB / 0.5954 GB, free: 12.43 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007403/0.8795, allocations: 7.152 MB / 0.6024 GB, free: 3.992 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.875e-05/0.8795, allocations: 28 kB / 0.6024 GB, free: 3.965 MB / 394.8 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01079/0.8903, allocations: 7.054 MB / 0.6093 GB, free: 12.9 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.8904, allocations: 44 kB / 0.6093 GB, free: 12.86 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.8905, allocations: 92 kB / 0.6094 GB, free: 12.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000837/0.8914, allocations: 426.4 kB / 0.6098 GB, free: 12.35 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.8947, allocations: 1.178 MB / 0.611 GB, free: 11.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/0.8993, allocations: 4.076 MB / 0.615 GB, free: 6.965 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/0.9025, allocations: 0.7159 MB / 0.6157 GB, free: 6.242 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/0.9029, allocations: 292 kB / 0.6159 GB, free: 5.957 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (626): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005068/0.908, allocations: 3.487 MB / 0.6193 GB, free: 2.457 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/0.9086, allocations: 288.4 kB / 0.6196 GB, free: 2.172 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005257/0.9138, allocations: 3.379 MB / 0.6229 GB, free: 14.77 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003631/0.9175, allocations: 2.612 MB / 0.6255 GB, free: 12.15 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.9175, allocations: 4 kB / 0.6255 GB, free: 12.15 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.9175, allocations: 11.97 kB / 0.6255 GB, free: 12.14 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.9332, allocations: 9.419 MB / 0.6347 GB, free: 2.68 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.9333, allocations: 0 / 0.6347 GB, free: 2.68 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.9347, allocations: 359.4 kB / 0.635 GB, free: 2.328 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007051/0.9354, allocations: 312 kB / 0.6353 GB, free: 2.023 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.9356, allocations: 43.98 kB / 0.6354 GB, free: 1.98 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/0.9401, allocations: 3.881 MB / 0.6392 GB, free: 13.97 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.9401, allocations: 4 kB / 0.6392 GB, free: 13.96 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006793/0.9469, allocations: 4.818 MB / 0.6439 GB, free: 9.113 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.9482, allocations: 0.614 MB / 0.6445 GB, free: 8.477 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005795/0.9488, allocations: 39.98 kB / 0.6445 GB, free: 8.438 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.9502, allocations: 135.8 kB / 0.6446 GB, free: 8.305 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/0.9505, allocations: 125.8 kB / 0.6448 GB, free: 8.184 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.9506, allocations: 64.05 kB / 0.6448 GB, free: 8.121 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003753/0.9544, allocations: 2.171 MB / 0.6469 GB, free: 5.949 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9544, allocations: 0 / 0.6469 GB, free: 5.949 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005324/0.9597, allocations: 2.037 MB / 0.6489 GB, free: 3.906 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (183): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000466/0.9602, allocations: 201.2 kB / 0.6491 GB, free: 3.711 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.1578/1.118, allocations: 4.778 MB / 0.6538 GB, free: 149 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/1.118, allocations: 2.812 kB / 0.6538 GB, free: 149 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/1.12, allocations: 1.626 MB / 0.6554 GB, free: 148.8 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.123, allocations: 0.6525 MB / 0.656 GB, free: 148.8 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/1.145, allocations: 17.67 MB / 0.6733 GB, free: 139.4 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005429/1.15, allocations: 5.799 MB / 0.6789 GB, free: 137.2 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004192/1.154, allocations: 1.834 MB / 0.6807 GB, free: 137 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/1.155, allocations: 235.4 kB / 0.6809 GB, free: 137 MB / 442.8 MB Notification: Performance of SimCode: time 7.61e-07/1.155, allocations: 1.625 kB / 0.6809 GB, free: 137 MB / 442.8 MB Notification: Performance of Templates: time 0.06166/1.216, allocations: 40.46 MB / 0.7204 GB, free: 97.79 MB / 442.8 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches