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.UnsymmetricalLoad.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.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001354, allocations: 178.8 kB / 17.36 MB, free: 4.168 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.369/1.369, allocations: 205.6 MB / 223.7 MB, free: 8.945 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.0007516/0.0007517, allocations: 90.94 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002358, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2136, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.009313/0.2229, allocations: 12.67 MB / 389.3 MB, free: 35.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006614/0.2296, allocations: 5.047 MB / 394.3 MB, free: 30.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.2307, allocations: 79.81 kB / 394.4 MB, free: 30.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.2319, allocations: 0.8203 MB / 395.2 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.2349, allocations: 1.936 MB / 397.2 MB, free: 27.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.2367, allocations: 1.525 MB / 398.7 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004486/0.2412, allocations: 6.68 MB / 405.4 MB, free: 19.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01718/0.2584, allocations: 18.61 MB / 424 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003939/0.2624, allocations: 2.6 MB / 426.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.2661, allocations: 3.201 MB / 429.8 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000626/0.2667, allocations: 392 kB / 430.2 MB, free: 9.105 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.2681, allocations: 0.5545 MB / 430.7 MB, free: 8.551 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.2691, allocations: 1.257 MB / 432 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002871/0.272, allocations: 3.064 MB / 435 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009719/0.2817, allocations: 11.64 MB / 446.7 MB, free: 8.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2817, allocations: 0 / 446.7 MB, free: 8.516 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2818, allocations: 3.938 kB / 446.7 MB, free: 8.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002373/0.282, allocations: 0 / 446.7 MB, free: 8.512 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01545/0.2975, allocations: 6.91 MB / 453.6 MB, free: 1.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2975, allocations: 8.031 kB / 453.6 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02975/0.3273, allocations: 5.1 MB / 458.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007487/0.3348, allocations: 3.543 MB / 462.2 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005085/0.3353, allocations: 0.5097 MB / 462.8 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002121/0.3375, allocations: 0.6756 MB / 463.4 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.3618, allocations: 10.43 MB / 473.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002382/0.3621, allocations: 7.906 kB / 473.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001561/0.3636, allocations: 279.9 kB / 474.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004322/0.3641, allocations: 402.5 kB / 474.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/0.3816, allocations: 9.571 MB / 484.1 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2123/0.594, allocations: 31.98 MB / 0.504 GB, free: 90.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/0.6071, allocations: 22.87 MB / 0.5263 GB, free: 68.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/0.6099, allocations: 1.927 MB / 0.5282 GB, free: 67.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008093/0.618, allocations: 6.248 MB / 0.5343 GB, free: 62.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.618, allocations: 51.28 kB / 0.5344 GB, free: 62.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 2.605e-06/0.618, allocations: 0 / 0.5344 GB, free: 62.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.005122/0.6232, allocations: 3.183 MB / 0.5375 GB, free: 60.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.6232, allocations: 98.41 kB / 0.5376 GB, free: 60.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.626, allocations: 2.596 MB / 0.5401 GB, free: 58.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.6261, allocations: 49.7 kB / 0.5401 GB, free: 58.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.6272, allocations: 3.124 MB / 0.5432 GB, free: 55.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.6275, allocations: 0.5469 MB / 0.5437 GB, free: 55.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.6277, allocations: 80 kB / 0.5438 GB, free: 55.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6278, allocations: 462.4 kB / 0.5442 GB, free: 54.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.6295, allocations: 1.452 MB / 0.5457 GB, free: 53.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.6317, allocations: 3.245 MB / 0.5488 GB, free: 49.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003755/0.6355, allocations: 4.8 MB / 0.5535 GB, free: 43.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.948e-05/0.6355, allocations: 16 kB / 0.5535 GB, free: 43.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005813/0.6414, allocations: 5.059 MB / 0.5585 GB, free: 38.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.6414, allocations: 35.94 kB / 0.5585 GB, free: 38.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.129e-05/0.6414, allocations: 63.94 kB / 0.5586 GB, free: 38.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/0.6421, allocations: 336.3 kB / 0.5589 GB, free: 37.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.6446, allocations: 0.8813 MB / 0.5597 GB, free: 37.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003702/0.6483, allocations: 4.639 MB / 0.5643 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.6506, allocations: 0.5339 MB / 0.5648 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/0.6509, allocations: 208 kB / 0.565 GB, free: 31.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002715/0.6536, allocations: 2.338 MB / 0.5673 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.6538, allocations: 225.2 kB / 0.5675 GB, free: 28.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.6569, allocations: 2.309 MB / 0.5697 GB, free: 26.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6569, allocations: 16 kB / 0.5698 GB, free: 26.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6569, allocations: 4 kB / 0.5698 GB, free: 26.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.6569, allocations: 11.91 kB / 0.5698 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006064/0.663, allocations: 5.334 MB / 0.575 GB, free: 21.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.663, allocations: 4 kB / 0.575 GB, free: 21.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.6641, allocations: 255.6 kB / 0.5752 GB, free: 20.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/0.6646, allocations: 256 kB / 0.5755 GB, free: 20.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/0.6647, allocations: 40.05 kB / 0.5755 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003445/0.6681, allocations: 4.518 MB / 0.5799 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6681, allocations: 0 / 0.5799 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/0.6716, allocations: 3.297 MB / 0.5831 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006856/0.6723, allocations: 497.7 kB / 0.5836 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.6725, allocations: 32 kB / 0.5837 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009348/0.6735, allocations: 99.89 kB / 0.5837 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.6737, allocations: 97.3 kB / 0.5838 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.999e-05/0.6738, allocations: 48.05 kB / 0.5839 GB, free: 11.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00183/0.6756, allocations: 1.698 MB / 0.5855 GB, free: 9.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6756, allocations: 0 / 0.5855 GB, free: 9.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003652/0.6793, allocations: 1.526 MB / 0.587 GB, free: 8.422 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002785/0.6796, allocations: 163 kB / 0.5872 GB, free: 8.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004199/0.6838, allocations: 3.496 MB / 0.5906 GB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6838, allocations: 0 / 0.5906 GB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.6851, allocations: 1.262 MB / 0.5918 GB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.6873, allocations: 459.3 kB / 0.5923 GB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.7044, allocations: 12.81 MB / 0.6048 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003791/0.7082, allocations: 4.185 MB / 0.6089 GB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003795/0.712, allocations: 1.283 MB / 0.6101 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.7125, allocations: 187.4 kB / 0.6103 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7125, allocations: 4 kB / 0.6103 GB, free: 0.5 MB / 394.7 MB Notification: Performance of Templates: time 0.05215/0.7646, allocations: 29.43 MB / 0.639 GB, free: 3.168 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches