Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0106/0.01061, allocations: 111.6 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001153/0.001153, allocations: 180.2 kB / 15.95 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.866/1.866, allocations: 194.6 MB / 211.3 MB, free: 11.01 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3073/0.3073, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004552, allocations: 12 kB / 361.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1122, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.0269/0.1391, allocations: 16.61 MB / 432.6 MB, free: 1.867 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.1524, allocations: 4.63 MB / 437.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003704/0.1562, allocations: 123.6 kB / 437.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004582/0.1608, allocations: 0.9596 MB / 438.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009005/0.1699, allocations: 1.858 MB / 440.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004842/0.1748, allocations: 0.9396 MB / 441.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01656/0.1913, allocations: 7.765 MB / 448.9 MB, free: 1.551 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.6766/0.868, allocations: 21.09 MB / 470 MB, free: 29.25 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007665/0.8757, allocations: 4.12 MB / 474.1 MB, free: 29.25 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009977/0.8857, allocations: 4.702 MB / 478.8 MB, free: 29.25 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003866/0.8897, allocations: 0.6826 MB / 479.5 MB, free: 29.25 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0062/0.8959, allocations: 0.8214 MB / 480.3 MB, free: 29.25 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005106/0.9011, allocations: 2.254 MB / 482.6 MB, free: 29 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005568/0.9067, allocations: 2.342 MB / 484.9 MB, free: 28.61 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02783/0.9346, allocations: 19.7 MB / 0.4928 GB, free: 21.07 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.9346, allocations: 1.75 kB / 0.4928 GB, free: 21.07 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.745e-06/0.9347, allocations: 0 / 0.4928 GB, free: 21.07 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0007698/0.9354, allocations: 0 / 0.4928 GB, free: 21.07 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3353 * Number of variables: 3353 Notification: Performance of Generate backend data structure: time 0.05132/0.9868, allocations: 12.06 MB / 0.5046 GB, free: 13.84 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.9868, allocations: 7.469 kB / 0.5046 GB, free: 13.84 MB / 378.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007948/0.9948, allocations: 1.744 MB / 0.5063 GB, free: 12.63 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09843/1.093, allocations: 12.48 MB / 0.5185 GB, free: 2.629 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02254/1.116, allocations: 6.644 MB / 0.525 GB, free: 12 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001506/1.117, allocations: 0.8996 MB / 0.5258 GB, free: 11.11 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007055/1.125, allocations: 1.183 MB / 0.527 GB, free: 9.938 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07187/1.196, allocations: 18.79 MB / 0.5453 GB, free: 7.133 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008183/1.197, allocations: 19.89 kB / 0.5454 GB, free: 7.113 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005875/1.203, allocations: 0.4889 MB / 0.5458 GB, free: 6.637 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00126/1.205, allocations: 0.6855 MB / 0.5465 GB, free: 5.949 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06636/1.271, allocations: 19.66 MB / 0.5657 GB, free: 2.277 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5164/1.787, allocations: 61.92 MB / 0.6262 GB, free: 99.95 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03492/1.822, allocations: 20.09 MB / 0.6458 GB, free: 89.52 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.824, allocations: 241.2 kB / 0.646 GB, free: 89.42 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.943e-05/1.824, allocations: 111.6 kB / 0.6461 GB, free: 89.38 MB / 474.8 MB Notification: Performance of pre-optimization done (n=674): time 1.129e-05/1.824, allocations: 0 / 0.6461 GB, free: 89.38 MB / 474.8 MB Notification: Performance of matching and sorting (n=674): time 0.03703/1.861, allocations: 12.38 MB / 0.6582 GB, free: 88.12 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/1.861, allocations: 123.8 kB / 0.6583 GB, free: 88.05 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02112/1.882, allocations: 8.438 MB / 0.6666 GB, free: 85.64 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001374/1.883, allocations: 134 kB / 0.6667 GB, free: 85.53 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004929/1.888, allocations: 4.536 MB / 0.6711 GB, free: 82.09 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003224/1.892, allocations: 2.262 MB / 0.6733 GB, free: 80.34 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/1.893, allocations: 159.8 kB / 0.6735 GB, free: 80.21 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000655/1.893, allocations: 0.6466 MB / 0.6741 GB, free: 79.77 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01109/1.905, allocations: 4.135 MB / 0.6782 GB, free: 78.43 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01367/1.918, allocations: 7.142 MB / 0.6851 GB, free: 73.16 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/1.933, allocations: 5.695 MB / 0.6907 GB, free: 70.93 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/1.933, allocations: 34.2 kB / 0.6907 GB, free: 70.93 MB / 474.8 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.03394/1.967, allocations: 12.26 MB / 0.7027 GB, free: 65.84 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.531e-05/1.967, allocations: 48.8 kB / 0.7027 GB, free: 65.84 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001777/1.967, allocations: 100.6 kB / 0.7028 GB, free: 65.84 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/1.969, allocations: 403.7 kB / 0.7032 GB, free: 65.68 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01527/1.984, allocations: 2.094 MB / 0.7053 GB, free: 65.14 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007652/1.992, allocations: 8.785 MB / 0.7138 GB, free: 56.53 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/2.003, allocations: 1.38 MB / 0.7152 GB, free: 55.6 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002291/2.006, allocations: 406.5 kB / 0.7156 GB, free: 55.52 MB / 474.8 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01339/2.019, allocations: 4.624 MB / 0.7201 GB, free: 51.7 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002083/2.021, allocations: 0.706 MB / 0.7208 GB, free: 50.98 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03043/2.052, allocations: 10.97 MB / 0.7315 GB, free: 39.91 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.752e-05/2.052, allocations: 68 kB / 0.7316 GB, free: 39.84 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/2.052, allocations: 4 kB / 0.7316 GB, free: 39.84 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001608/2.052, allocations: 43.84 kB / 0.7316 GB, free: 39.8 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6341/2.686, allocations: 158.4 MB / 0.8863 GB, free: 99.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003796/2.687, allocations: 86.53 kB / 0.8863 GB, free: 99.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01169/2.698, allocations: 1.571 MB / 0.8879 GB, free: 97.63 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/2.7, allocations: 376.2 kB / 0.8882 GB, free: 97.25 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001671/2.701, allocations: 252 kB / 0.8885 GB, free: 97 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007354/2.709, allocations: 8.698 MB / 0.897 GB, free: 87.63 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.56e-05/2.709, allocations: 139.4 kB / 0.8971 GB, free: 87.5 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04036/2.749, allocations: 34.17 MB / 0.9305 GB, free: 49.19 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007549/2.757, allocations: 2.022 MB / 0.9325 GB, free: 47.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003557/2.761, allocations: 251.9 kB / 0.9327 GB, free: 46.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01007/2.771, allocations: 0.5542 MB / 0.9332 GB, free: 46.4 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00247/2.773, allocations: 0.7384 MB / 0.934 GB, free: 45.66 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001643/2.775, allocations: 316 kB / 0.9343 GB, free: 45.35 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01492/2.79, allocations: 5.906 MB / 0.94 GB, free: 39.46 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.052e-06/2.79, allocations: 0 / 0.94 GB, free: 39.46 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01457/2.804, allocations: 2.656 MB / 0.9426 GB, free: 36.79 MB / 0.4949 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4171/3.222, allocations: 51.46 MB / 0.9929 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02659/3.248, allocations: 10.49 MB / 1.003 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.943e-05/3.248, allocations: 19.25 kB / 1.003 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01376/3.262, allocations: 5.459 MB / 1.008 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01316/3.275, allocations: 1.354 MB / 1.01 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2846/3.56, allocations: 153.6 MB / 1.16 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0178/3.578, allocations: 8.009 MB / 1.168 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01855/3.597, allocations: 3.635 MB / 1.171 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01347/3.61, allocations: 4.186 MB / 1.175 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of SimCode: time 2.846e-06/3.61, allocations: 0 / 1.175 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8015/4.412, allocations: 184.8 MB / 1.356 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/4.412, allocations: 227.5 kB / 1.356 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/12.77, allocations: 0 / 1.356 GB, free: 22.13 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat