Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001735/0.001735, allocations: 177.9 kB / 16.08 MB, free: 5.539 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.454/1.454, allocations: 205.6 MB / 222.4 MB, free: 13.65 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.0008494/0.0008497, allocations: 90.3 kB / 270.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1819/0.1819, allocations: 43.69 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002915, allocations: 15.98 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 58.86 MB / 491.2 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01653/0.1202, allocations: 17.34 MB / 0.4966 GB, free: 6.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.1305, allocations: 5.862 MB / 0.5023 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.1327, allocations: 123.6 kB / 0.5024 GB, free: 464 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.1352, allocations: 1.24 MB / 0.5037 GB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005926/0.1412, allocations: 2.466 MB / 0.5061 GB, free: 12.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.144, allocations: 1.698 MB / 0.5077 GB, free: 10.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.2353/0.3793, allocations: 12.59 MB / 0.52 GB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05082/0.4302, allocations: 31.71 MB / 0.551 GB, free: 1.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007079/0.4373, allocations: 4.762 MB / 0.5556 GB, free: 1.191 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00781/0.4452, allocations: 5.551 MB / 0.561 GB, free: 15.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002457/0.4477, allocations: 0.6867 MB / 0.5617 GB, free: 14.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003933/0.4516, allocations: 0.8753 MB / 0.5626 GB, free: 14.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002714/0.4544, allocations: 2.376 MB / 0.5649 GB, free: 12.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008403/0.4628, allocations: 5.656 MB / 0.5704 GB, free: 6.926 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0217/0.4845, allocations: 22.22 MB / 0.5921 GB, free: 1.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4845, allocations: 0 / 0.5921 GB, free: 1.863 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4845, allocations: 7.938 kB / 0.5921 GB, free: 1.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005344/0.4851, allocations: 0 / 0.5921 GB, free: 1.855 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.02972/0.5148, allocations: 12.04 MB / 0.6039 GB, free: 5.809 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5149, allocations: 12.03 kB / 0.6039 GB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06089/0.5758, allocations: 12.48 MB / 0.6161 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.5892, allocations: 6.574 MB / 0.6225 GB, free: 3.133 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001094/0.5903, allocations: 0.9081 MB / 0.6234 GB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004191/0.5946, allocations: 1.185 MB / 0.6245 GB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05312/0.6477, allocations: 18.96 MB / 0.6431 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005769/0.6483, allocations: 23.36 kB / 0.6431 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003815/0.6522, allocations: 0.4953 MB / 0.6436 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005993/0.6528, allocations: 0.6856 MB / 0.6442 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0372/0.69, allocations: 19.75 MB / 0.6635 GB, free: 9.137 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4257/1.116, allocations: 62.41 MB / 0.7245 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01762/1.133, allocations: 20.12 MB / 0.7441 GB, free: 108.8 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005682/1.139, allocations: 4.609 MB / 0.7486 GB, free: 107.4 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004003/1.14, allocations: 242.3 kB / 0.7488 GB, free: 107.2 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.634e-05/1.14, allocations: 108.4 kB / 0.7489 GB, free: 107.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=674): time 8.375e-06/1.14, allocations: 0.9844 kB / 0.7489 GB, free: 107.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=674): time 0.01556/1.155, allocations: 12.51 MB / 0.7612 GB, free: 102.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/1.155, allocations: 120.7 kB / 0.7613 GB, free: 102.4 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/1.166, allocations: 8.667 MB / 0.7697 GB, free: 99.55 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.167, allocations: 132.8 kB / 0.7699 GB, free: 99.44 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002635/1.17, allocations: 4.604 MB / 0.7744 GB, free: 95.48 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001748/1.172, allocations: 2.263 MB / 0.7766 GB, free: 93.53 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/1.172, allocations: 164.8 kB / 0.7767 GB, free: 93.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002938/1.173, allocations: 0.6328 MB / 0.7773 GB, free: 92.86 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004961/1.177, allocations: 4.17 MB / 0.7814 GB, free: 90.69 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005929/1.183, allocations: 7.204 MB / 0.7885 GB, free: 84.43 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/1.195, allocations: 12.36 MB / 0.8005 GB, free: 73.38 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.738e-05/1.195, allocations: 30.34 kB / 0.8006 GB, free: 73.35 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01647/1.212, allocations: 12.34 MB / 0.8126 GB, free: 60.9 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 6.69e-05/1.212, allocations: 55.77 kB / 0.8127 GB, free: 60.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/1.212, allocations: 100 kB / 0.8128 GB, free: 60.75 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008679/1.213, allocations: 421.1 kB / 0.8132 GB, free: 60.32 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006666/1.219, allocations: 2.094 MB / 0.8152 GB, free: 58.22 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/1.224, allocations: 8.943 MB / 0.8239 GB, free: 48.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008069/1.232, allocations: 1.396 MB / 0.8253 GB, free: 47.07 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002335/1.235, allocations: 396 kB / 0.8257 GB, free: 46.68 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.009633/1.244, allocations: 4.66 MB / 0.8302 GB, free: 42.01 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001937/1.246, allocations: 0.7136 MB / 0.8309 GB, free: 41.29 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01807/1.264, allocations: 11.02 MB / 0.8417 GB, free: 30.16 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.319e-05/1.265, allocations: 71.94 kB / 0.8418 GB, free: 30.09 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.604e-05/1.265, allocations: 4 kB / 0.8418 GB, free: 30.09 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001429/1.265, allocations: 35.86 kB / 0.8418 GB, free: 30.05 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3885/1.653, allocations: 159.2 MB / 0.9972 GB, free: 101 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003726/1.654, allocations: 88 kB / 0.9973 GB, free: 100.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006018/1.66, allocations: 1.568 MB / 0.9988 GB, free: 99.36 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009506/1.661, allocations: 382.4 kB / 0.9992 GB, free: 98.97 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001342/1.662, allocations: 252 kB / 0.9994 GB, free: 98.72 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005298/1.667, allocations: 8.813 MB / 1.008 GB, free: 89.23 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.631e-05/1.667, allocations: 135.4 kB / 1.008 GB, free: 89.1 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02548/1.693, allocations: 18.79 MB / 1.027 GB, free: 68.59 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004536/1.697, allocations: 2.058 MB / 1.029 GB, free: 66.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002056/1.7, allocations: 245 kB / 1.029 GB, free: 66.33 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00575/1.705, allocations: 0.5751 MB / 1.029 GB, free: 65.75 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001555/1.707, allocations: 0.7419 MB / 1.03 GB, free: 65.01 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008749/1.708, allocations: 320 kB / 1.03 GB, free: 64.7 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01054/1.718, allocations: 6.066 MB / 1.036 GB, free: 58.65 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7.11e-07/1.718, allocations: 0 / 1.036 GB, free: 58.65 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0107/1.729, allocations: 2.668 MB / 1.039 GB, free: 55.97 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * 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.002257/1.731, allocations: 0.4981 MB / 1.039 GB, free: 55.47 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01622/1.748, allocations: 10.56 MB / 1.05 GB, free: 44.82 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 5.974e-05/1.748, allocations: 16 kB / 1.05 GB, free: 44.8 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.008002/1.756, allocations: 5.505 MB / 1.055 GB, free: 39.24 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08327/1.839, allocations: 1.511 MB / 1.057 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0452/1.884, allocations: 29.62 MB / 1.085 GB, free: 6.879 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009732/1.894, allocations: 7.876 MB / 1.093 GB, free: 14.96 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01118/1.905, allocations: 3.665 MB / 1.097 GB, free: 11.28 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002715/1.908, allocations: 0.597 MB / 1.097 GB, free: 10.68 MB / 0.5418 GB Notification: Performance of SimCode: time 7.42e-07/1.908, allocations: 0 / 1.097 GB, free: 10.68 MB / 0.5418 GB Notification: Performance of Templates: time 0.3923/2.3, allocations: 99.5 MB / 1.195 GB, free: 105.9 MB / 0.5418 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches