Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 174.1 kB / 17.4 MB, free: 4.293 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.479/1.479, allocations: 225.7 MB / 243.9 MB, free: 8.445 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.0009274/0.0009273, allocations: 90.08 kB / 295 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3177/0.3177, allocations: 44.32 MB / 390.5 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 8 kB / 463.1 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3888, allocations: 61.9 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01387/0.4028, allocations: 17.22 MB / 0.5296 GB, free: 25.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009958/0.4128, allocations: 5.827 MB / 0.5352 GB, free: 20.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00349/0.4163, allocations: 141.8 kB / 0.5354 GB, free: 20.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003109/0.4195, allocations: 1.213 MB / 0.5366 GB, free: 20.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006462/0.4259, allocations: 2.395 MB / 0.5389 GB, free: 18.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004144/0.4301, allocations: 1.687 MB / 0.5406 GB, free: 17.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01364/0.4437, allocations: 12.33 MB / 0.5526 GB, free: 11.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05203/0.4958, allocations: 31.68 MB / 0.5835 GB, free: 2.098 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/0.506, allocations: 4.688 MB / 0.5881 GB, free: 13.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01137/0.5175, allocations: 5.43 MB / 0.5934 GB, free: 9.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003788/0.5213, allocations: 0.6797 MB / 0.5941 GB, free: 8.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005862/0.5272, allocations: 0.867 MB / 0.5949 GB, free: 7.473 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005059/0.5323, allocations: 2.319 MB / 0.5972 GB, free: 5.145 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01177/0.5441, allocations: 5.564 MB / 0.6026 GB, free: 15.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0241/0.5682, allocations: 22.16 MB / 0.6243 GB, free: 9.309 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.5683, allocations: 0 / 0.6243 GB, free: 9.309 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5683, allocations: 4 kB / 0.6243 GB, free: 9.305 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006966/0.569, allocations: 0 / 0.6243 GB, free: 9.305 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03183/0.6008, allocations: 11.86 MB / 0.6358 GB, free: 13.35 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.6009, allocations: 12.03 kB / 0.6359 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05652/0.6574, allocations: 11.48 MB / 0.6471 GB, free: 1.82 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/0.6725, allocations: 7.084 MB / 0.654 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001272/0.6738, allocations: 0.891 MB / 0.6549 GB, free: 9.754 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004984/0.6788, allocations: 1.164 MB / 0.656 GB, free: 8.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04657/0.7254, allocations: 18.48 MB / 0.674 GB, free: 6.055 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005675/0.726, allocations: 15.81 kB / 0.6741 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003519/0.7296, allocations: 499.9 kB / 0.6745 GB, free: 5.551 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007337/0.7303, allocations: 0.6577 MB / 0.6752 GB, free: 4.891 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4447/1.175, allocations: 18.99 MB / 0.6937 GB, free: 107.6 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1217/1.297, allocations: 60.84 MB / 0.7531 GB, free: 73.42 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/1.315, allocations: 16.57 MB / 0.7693 GB, free: 56.03 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007422/1.322, allocations: 4.501 MB / 0.7737 GB, free: 51.5 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/1.323, allocations: 244.7 kB / 0.7739 GB, free: 51.27 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/1.323, allocations: 103.7 kB / 0.774 GB, free: 51.16 MB / 490.8 MB Notification: Performance of pre-optimization done (n=653): time 1.012e-05/1.323, allocations: 7.938 kB / 0.7741 GB, free: 51.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=653): time 0.02093/1.344, allocations: 12.32 MB / 0.7861 GB, free: 38.63 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/1.344, allocations: 116.5 kB / 0.7862 GB, free: 38.5 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01619/1.36, allocations: 8.549 MB / 0.7945 GB, free: 29.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001173/1.361, allocations: 129.7 kB / 0.7947 GB, free: 29.83 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003691/1.365, allocations: 4.492 MB / 0.799 GB, free: 25.32 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002674/1.368, allocations: 2.184 MB / 0.8012 GB, free: 23.16 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/1.369, allocations: 160 kB / 0.8013 GB, free: 23 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000461/1.37, allocations: 0.6124 MB / 0.8019 GB, free: 22.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006095/1.376, allocations: 4.082 MB / 0.8059 GB, free: 18.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007444/1.383, allocations: 6.879 MB / 0.8126 GB, free: 10.15 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/1.398, allocations: 11.9 MB / 0.8243 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/1.398, allocations: 28 kB / 0.8243 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02966/1.428, allocations: 11.96 MB / 0.836 GB, free: 0.7969 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002822/1.428, allocations: 44 kB / 0.836 GB, free: 0.7539 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003649/1.429, allocations: 88 kB / 0.8361 GB, free: 0.668 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/1.43, allocations: 412.9 kB / 0.8365 GB, free: 252 kB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01246/1.443, allocations: 2.001 MB / 0.8384 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/1.454, allocations: 8.916 MB / 0.8471 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/1.464, allocations: 1.358 MB / 0.8485 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002194/1.467, allocations: 376 kB / 0.8488 GB, free: 2.789 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01263/1.479, allocations: 4.575 MB / 0.8533 GB, free: 14.2 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002677/1.482, allocations: 0.7021 MB / 0.854 GB, free: 13.49 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02332/1.505, allocations: 10.57 MB / 0.8643 GB, free: 2.812 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.289e-05/1.505, allocations: 68 kB / 0.8644 GB, free: 2.746 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.941e-05/1.505, allocations: 4 kB / 0.8644 GB, free: 2.742 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001235/1.506, allocations: 31.88 kB / 0.8644 GB, free: 2.711 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4611/1.967, allocations: 156.6 MB / 1.017 GB, free: 63.37 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004843/1.967, allocations: 88 kB / 1.017 GB, free: 63.28 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00655/1.974, allocations: 1.54 MB / 1.019 GB, free: 61.74 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/1.975, allocations: 376.9 kB / 1.019 GB, free: 61.36 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00155/1.977, allocations: 248 kB / 1.019 GB, free: 61.11 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005591/1.982, allocations: 8.808 MB / 1.028 GB, free: 51.61 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.977e-05/1.982, allocations: 139.4 kB / 1.028 GB, free: 51.47 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02829/2.011, allocations: 18.47 MB / 1.046 GB, free: 31.3 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007136/2.018, allocations: 2.022 MB / 1.048 GB, free: 29.45 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004361/2.022, allocations: 241.7 kB / 1.048 GB, free: 29.21 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008019/2.03, allocations: 0.562 MB / 1.049 GB, free: 28.65 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002324/2.033, allocations: 0.734 MB / 1.05 GB, free: 27.91 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001512/2.034, allocations: 308 kB / 1.05 GB, free: 27.61 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01192/2.046, allocations: 5.993 MB / 1.056 GB, free: 21.63 MB / 0.5418 GB Notification: Performance of sort global known variables: time 4.6e-07/2.046, allocations: 0 / 1.056 GB, free: 21.63 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01148/2.058, allocations: 2.616 MB / 1.058 GB, free: 19.01 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002145/2.06, allocations: 0.5019 MB / 1.059 GB, free: 18.5 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01707/2.077, allocations: 10.33 MB / 1.069 GB, free: 8.086 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 9.944e-05/2.077, allocations: 12 kB / 1.069 GB, free: 8.074 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.008812/2.086, allocations: 5.427 MB / 1.074 GB, free: 2.586 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09141/2.177, allocations: 1.49 MB / 1.076 GB, free: 1.105 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.298/2.475, allocations: 29.04 MB / 1.104 GB, free: 154 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009171/2.485, allocations: 7.769 MB / 1.112 GB, free: 153 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.009854/2.495, allocations: 3.568 MB / 1.115 GB, free: 152.7 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/2.497, allocations: 0.5859 MB / 1.116 GB, free: 152.7 MB / 0.5574 GB Notification: Performance of SimCode: time 2.194e-06/2.497, allocations: 0 / 1.116 GB, free: 152.7 MB / 0.5574 GB Notification: Performance of Templates: time 0.1692/2.666, allocations: 98.19 MB / 1.212 GB, free: 85.81 MB / 0.5574 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches