Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008681/0.0008688, allocations: 183.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 225.7 MB / 243.2 MB, free: 8.48 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007329/0.0007329, allocations: 92.08 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002227/0.0002228, allocations: 11.94 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1785, allocations: 50.41 MB / 404.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.007842/0.1864, allocations: 12.09 MB / 416.7 MB, free: 19.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005437/0.1919, allocations: 4.868 MB / 421.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.1929, allocations: 91.75 kB / 421.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.1941, allocations: 0.7932 MB / 422.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.1968, allocations: 1.722 MB / 424.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.1986, allocations: 1.496 MB / 425.6 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004191/0.2028, allocations: 6.086 MB / 431.7 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01987/0.2227, allocations: 18.55 MB / 450.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.2257, allocations: 2.413 MB / 452.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.2291, allocations: 2.941 MB / 455.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006272/0.2297, allocations: 380 kB / 456 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.2311, allocations: 0.5389 MB / 456.5 MB, free: 9.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008474/0.232, allocations: 1.117 MB / 457.7 MB, free: 8.398 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002553/0.2345, allocations: 2.859 MB / 460.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008677/0.2432, allocations: 11.23 MB / 471.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2432, allocations: 0 / 471.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2433, allocations: 0 / 471.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002282/0.2435, allocations: 0 / 471.7 MB, free: 10.25 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01436/0.2579, allocations: 6.501 MB / 478.2 MB, free: 3.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2579, allocations: 16.03 kB / 478.3 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.274, allocations: 2.893 MB / 481.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006122/0.2802, allocations: 3.627 MB / 484.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/0.2805, allocations: 480.9 kB / 485.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008507/0.2813, allocations: 0.621 MB / 485.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/0.2954, allocations: 9.267 MB / 495.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.2955, allocations: 11.89 kB / 495.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005329/0.2961, allocations: 264 kB / 495.4 MB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002622/0.2963, allocations: 321.4 kB / 495.7 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/0.3083, allocations: 7.903 MB / 0.4918 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1822/0.4905, allocations: 28.65 MB / 0.5198 GB, free: 74.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007044/0.4976, allocations: 11.66 MB / 0.5312 GB, free: 63.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.4994, allocations: 1.607 MB / 0.5328 GB, free: 62.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.4996, allocations: 134.7 kB / 0.5329 GB, free: 62.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4996, allocations: 67.06 kB / 0.5329 GB, free: 62.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=238): time 4.168e-06/0.4996, allocations: 3.938 kB / 0.533 GB, free: 62.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=238): time 0.006061/0.5057, allocations: 4.16 MB / 0.537 GB, free: 59.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.5057, allocations: 101.5 kB / 0.5371 GB, free: 59.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.5077, allocations: 1.884 MB / 0.539 GB, free: 58.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.757e-05/0.5078, allocations: 61.08 kB / 0.539 GB, free: 58.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007988/0.5086, allocations: 2.547 MB / 0.5415 GB, free: 56.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/0.5089, allocations: 0.8114 MB / 0.5423 GB, free: 55.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.5091, allocations: 72 kB / 0.5424 GB, free: 55.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5092, allocations: 445.3 kB / 0.5428 GB, free: 55.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.5107, allocations: 1.392 MB / 0.5441 GB, free: 53.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.5125, allocations: 2.589 MB / 0.5467 GB, free: 50.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003439/0.516, allocations: 4.211 MB / 0.5508 GB, free: 45.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/0.516, allocations: 12 kB / 0.5508 GB, free: 45.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.004995/0.521, allocations: 4.487 MB / 0.5552 GB, free: 41.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.521, allocations: 20 kB / 0.5552 GB, free: 41.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/0.5211, allocations: 40 kB / 0.5552 GB, free: 41.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.5217, allocations: 310.4 kB / 0.5555 GB, free: 40.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.524, allocations: 0.78 MB / 0.5563 GB, free: 40.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.5275, allocations: 4.614 MB / 0.5608 GB, free: 35.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.5292, allocations: 408.1 kB / 0.5612 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.5294, allocations: 168 kB / 0.5613 GB, free: 34.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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.002415/0.5318, allocations: 2.183 MB / 0.5635 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.532, allocations: 213.4 kB / 0.5637 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.5359, allocations: 3.166 MB / 0.5668 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.536, allocations: 24 kB / 0.5668 GB, free: 29.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.536, allocations: 8 kB / 0.5668 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.536, allocations: 11.95 kB / 0.5668 GB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.548, allocations: 11.77 MB / 0.5783 GB, free: 16.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.5481, allocations: 12 kB / 0.5783 GB, free: 16.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.5496, allocations: 439.3 kB / 0.5787 GB, free: 16.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005551/0.5501, allocations: 278.1 kB / 0.579 GB, free: 16.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.5503, allocations: 63.98 kB / 0.5791 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003406/0.5537, allocations: 4.569 MB / 0.5835 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.5537, allocations: 19.94 kB / 0.5836 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004878/0.5586, allocations: 4.972 MB / 0.5884 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007127/0.5593, allocations: 0.5446 MB / 0.5889 GB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.5595, allocations: 59.98 kB / 0.589 GB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.5606, allocations: 119.9 kB / 0.5891 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.5609, allocations: 205.3 kB / 0.5893 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.561, allocations: 87.98 kB / 0.5894 GB, free: 4.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001308/0.5623, allocations: 1.275 MB / 0.5906 GB, free: 3.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5623, allocations: 0 / 0.5906 GB, free: 3.703 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002779/0.5651, allocations: 1.43 MB / 0.592 GB, free: 2.266 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0002777/0.5654, allocations: 232.7 kB / 0.5923 GB, free: 2.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004292/0.5697, allocations: 3.605 MB / 0.5958 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5697, allocations: 4 kB / 0.5958 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.5718, allocations: 1.687 MB / 0.5974 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004786/0.5766, allocations: 0.4951 MB / 0.5979 GB, free: 12.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.5916, allocations: 12.65 MB / 0.6103 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003541/0.5951, allocations: 4.004 MB / 0.6142 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003013/0.5981, allocations: 1.195 MB / 0.6153 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.5986, allocations: 187.4 kB / 0.6155 GB, free: 9.938 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5986, allocations: 4 kB / 0.6155 GB, free: 9.934 MB / 410.7 MB Notification: Performance of Templates: time 0.04658/0.6452, allocations: 29.52 MB / 0.6443 GB, free: 12.6 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches