Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_SinglePhase_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.01085/0.01086, allocations: 106.7 kB / 15.06 MB, free: 6.027 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.001213/0.001213, allocations: 181.7 kB / 15.95 MB, free: 5.953 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.977/1.977, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.2643/0.2643, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006382/0.0006383, allocations: 15.98 kB / 361.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1169, allocations: 54.87 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009472/0.1265, allocations: 5.599 MB / 421.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005437/0.1319, allocations: 1.957 MB / 423.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007211/0.1327, allocations: 27.88 kB / 423.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008227/0.1335, allocations: 226.6 kB / 423.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.1368, allocations: 0.7908 MB / 424.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.1388, allocations: 463 kB / 425.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.1408, allocations: 0.784 MB / 425.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004325/0.1452, allocations: 1.233 MB / 427.1 MB, free: 7.422 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009721/0.1462, allocations: 394.5 kB / 427.5 MB, free: 7.035 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.1473, allocations: 0.5018 MB / 428 MB, free: 6.531 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.1475, allocations: 48 kB / 428 MB, free: 6.484 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1486, allocations: 191.7 kB / 428.2 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.1489, allocations: 195.3 kB / 428.4 MB, free: 6.105 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.1493, allocations: 213.1 kB / 428.6 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.1516, allocations: 1.064 MB / 429.7 MB, free: 4.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1517, allocations: 0 / 429.7 MB, free: 4.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1517, allocations: 0 / 429.7 MB, free: 4.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.1517, allocations: 0 / 429.7 MB, free: 4.824 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.007772/0.1595, allocations: 1.471 MB / 431.1 MB, free: 3.301 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.1596, allocations: 8.031 kB / 431.2 MB, free: 3.293 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000463/0.16, allocations: 181.8 kB / 431.3 MB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02574/0.1858, allocations: 1.435 MB / 432.8 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.1876, allocations: 0.5121 MB / 433.3 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.1878, allocations: 94.41 kB / 433.4 MB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004294/0.1883, allocations: 127.9 kB / 433.5 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004869/0.1931, allocations: 1.157 MB / 434.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-05/0.1933, allocations: 4 kB / 434.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/0.1935, allocations: 48 kB / 434.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-05/0.1936, allocations: 32 kB / 434.7 MB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00597/0.1996, allocations: 1.431 MB / 436.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/0.2163, allocations: 4.837 MB / 441 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004416/0.2208, allocations: 1.191 MB / 442.2 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.2211, allocations: 102 kB / 442.3 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.2212, allocations: 51.56 kB / 442.3 MB, free: 7.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 4.658e-06/0.2212, allocations: 0 / 442.3 MB, free: 7.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=91): time 0.003846/0.225, allocations: 1.2 MB / 443.5 MB, free: 6.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.2251, allocations: 72.27 kB / 443.6 MB, free: 6.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.2267, allocations: 0.7619 MB / 444.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.2268, allocations: 41.7 kB / 444.4 MB, free: 5.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/0.2273, allocations: 466.8 kB / 444.9 MB, free: 4.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/0.2276, allocations: 315.4 kB / 445.2 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.2277, allocations: 24 kB / 445.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002293/0.228, allocations: 398.7 kB / 445.6 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.2291, allocations: 342.5 kB / 445.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.2305, allocations: 0.6062 MB / 446.5 MB, free: 3.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.2318, allocations: 426.8 kB / 447 MB, free: 2.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.2319, allocations: 4 kB / 447 MB, free: 2.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003506/0.2354, allocations: 1.158 MB / 448.1 MB, free: 1.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.2354, allocations: 12 kB / 448.1 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.2355, allocations: 8 kB / 448.1 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/0.2359, allocations: 70.08 kB / 448.2 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.2379, allocations: 263.6 kB / 448.5 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2921/0.5301, allocations: 2.637 MB / 451.1 MB, free: 55.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.5317, allocations: 155.5 kB / 451.2 MB, free: 55.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.5318, allocations: 55.22 kB / 451.3 MB, free: 55.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005448/0.5324, allocations: 247.6 kB / 451.5 MB, free: 55.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.5326, allocations: 85.47 kB / 451.6 MB, free: 55.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.5355, allocations: 1.116 MB / 452.7 MB, free: 54.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.5355, allocations: 17.25 kB / 452.8 MB, free: 54.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.5356, allocations: 5.5 kB / 452.8 MB, free: 54.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.5356, allocations: 6.703 kB / 452.8 MB, free: 54.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/0.5408, allocations: 2.715 MB / 455.5 MB, free: 53.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.5409, allocations: 6.406 kB / 455.5 MB, free: 53.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.5422, allocations: 183 kB / 455.7 MB, free: 53.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000344/0.5426, allocations: 68.91 kB / 455.7 MB, free: 53.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.5427, allocations: 26.34 kB / 455.8 MB, free: 53.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.5448, allocations: 2.635 MB / 458.4 MB, free: 51.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/0.5449, allocations: 6.406 kB / 458.4 MB, free: 51.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003654/0.5485, allocations: 1.78 MB / 460.2 MB, free: 50.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.5489, allocations: 208.2 kB / 460.4 MB, free: 50.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.5491, allocations: 29.39 kB / 460.4 MB, free: 50.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.5502, allocations: 58.05 kB / 460.5 MB, free: 50.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.5505, allocations: 88.11 kB / 460.6 MB, free: 50.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.628e-05/0.5506, allocations: 33.53 kB / 460.6 MB, free: 50.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009239/0.5515, allocations: 0.5334 MB / 461.1 MB, free: 50.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5515, allocations: 0 / 461.1 MB, free: 50.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001338/0.5529, allocations: 287.5 kB / 461.4 MB, free: 50.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (94): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.004057/0.557, allocations: 4.104 MB / 465.5 MB, free: 46.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002725/0.5597, allocations: 1.093 MB / 466.6 MB, free: 46.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.5598, allocations: 3.094 kB / 466.6 MB, free: 46.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.5612, allocations: 0.6305 MB / 467.2 MB, free: 45.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008754/0.5621, allocations: 109.3 kB / 467.3 MB, free: 45.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.5744, allocations: 10.73 MB / 478.1 MB, free: 37.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.575, allocations: 1.004 MB / 479.1 MB, free: 36.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00113/0.5762, allocations: 152.2 kB / 479.2 MB, free: 36.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/0.5769, allocations: 346.2 kB / 479.6 MB, free: 36.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.724e-06/0.5769, allocations: 0 / 479.6 MB, free: 36.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06172/0.6386, allocations: 17.14 MB / 496.7 MB, free: 34.92 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/0.639, allocations: 226 kB / 496.9 MB, free: 34.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/3.631, allocations: 0 / 496.9 MB, free: 34.68 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat