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.Ideal.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.Ideal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",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.01111/0.01112, allocations: 106.6 kB / 15.06 MB, free: 5.949 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.001216/0.001216, allocations: 186.2 kB / 15.95 MB, free: 5.902 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.929/1.929, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.2911/0.2911, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004594, allocations: 8 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1144, allocations: 54.87 MB / 416 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01096/0.1254, allocations: 6.284 MB / 422.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005839/0.1313, allocations: 2.12 MB / 424.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1323, allocations: 27.94 kB / 424.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.1335, allocations: 258.4 kB / 424.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.1373, allocations: 0.8025 MB / 425.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.1402, allocations: 0.6354 MB / 426.1 MB, free: 8.414 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.1426, allocations: 0.9483 MB / 427.1 MB, free: 7.461 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00458/0.1472, allocations: 1.478 MB / 428.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.1483, allocations: 0.4904 MB / 429.1 MB, free: 5.461 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.1493, allocations: 0.6187 MB / 429.7 MB, free: 4.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.1495, allocations: 60 kB / 429.7 MB, free: 4.781 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009005/0.1504, allocations: 207.8 kB / 429.9 MB, free: 4.578 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.1507, allocations: 231.1 kB / 430.2 MB, free: 4.352 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003633/0.1511, allocations: 241.1 kB / 430.4 MB, free: 4.109 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.1537, allocations: 1.274 MB / 431.7 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1538, allocations: 0 / 431.7 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.59e-06/0.1538, allocations: 0 / 431.7 MB, free: 2.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.163e-05/0.1538, allocations: 3.938 kB / 431.7 MB, free: 2.828 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.01134/0.1652, allocations: 2.146 MB / 433.8 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1653, allocations: 12.03 kB / 433.8 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004857/0.1658, allocations: 194.6 kB / 434 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.1819, allocations: 1.501 MB / 435.5 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.1834, allocations: 0.5707 MB / 436.1 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.1836, allocations: 98.69 kB / 436.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003996/0.184, allocations: 139.9 kB / 436.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004575/0.1886, allocations: 1.503 MB / 437.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-05/0.1887, allocations: 4 kB / 437.8 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.1889, allocations: 56 kB / 437.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.189, allocations: 36 kB / 437.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004917/0.1939, allocations: 1.576 MB / 439.5 MB, free: 10.84 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.2081, allocations: 5.384 MB / 444.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/0.2124, allocations: 2.362 MB / 447.3 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.2127, allocations: 106.1 kB / 447.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.2128, allocations: 47.5 kB / 447.4 MB, free: 2.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 5.189e-06/0.2128, allocations: 0 / 447.4 MB, free: 2.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.3083/0.5211, allocations: 3.132 MB / 450.5 MB, free: 57.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.5212, allocations: 96.48 kB / 450.6 MB, free: 57.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.5219, allocations: 442.6 kB / 451.1 MB, free: 57.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.5221, allocations: 49.23 kB / 451.1 MB, free: 57.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.5224, allocations: 471.9 kB / 451.6 MB, free: 57.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.5228, allocations: 431.1 kB / 452 MB, free: 57.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5229, allocations: 28.72 kB / 452 MB, free: 57.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.523, allocations: 382.9 kB / 452.4 MB, free: 56.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.5244, allocations: 469.7 kB / 452.9 MB, free: 56.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.5259, allocations: 0.7443 MB / 453.6 MB, free: 56.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.5275, allocations: 0.5381 MB / 454.1 MB, free: 56.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.5275, allocations: 3.219 kB / 454.1 MB, free: 56.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004996/0.5325, allocations: 1.644 MB / 455.8 MB, free: 56.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.5326, allocations: 9.562 kB / 455.8 MB, free: 56.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/0.5326, allocations: 6.188 kB / 455.8 MB, free: 56.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003453/0.5361, allocations: 0.5276 MB / 456.3 MB, free: 56.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.5382, allocations: 220 kB / 456.5 MB, free: 56.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.5543, allocations: 5.012 MB / 461.5 MB, free: 53.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.5562, allocations: 131.8 kB / 461.7 MB, free: 53.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.5565, allocations: 54.52 kB / 461.7 MB, free: 53.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.00091/0.5574, allocations: 275.8 kB / 462 MB, free: 52.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/0.5577, allocations: 82.3 kB / 462.1 MB, free: 52.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005904/0.5637, allocations: 1.591 MB / 463.7 MB, free: 52.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.5637, allocations: 16.88 kB / 463.7 MB, free: 52.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5638, allocations: 3.094 kB / 463.7 MB, free: 52.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.5638, allocations: 6.891 kB / 463.7 MB, free: 52.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009702/0.5735, allocations: 2.896 MB / 466.6 MB, free: 50.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.5736, allocations: 0 / 466.6 MB, free: 50.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.5752, allocations: 148.1 kB / 466.7 MB, free: 50.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003235/0.5784, allocations: 0.521 MB / 467.3 MB, free: 50.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/0.5786, allocations: 22.44 kB / 467.3 MB, free: 50.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01584/0.5945, allocations: 4.999 MB / 472.3 MB, free: 47.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5946, allocations: 3.953 kB / 472.3 MB, free: 47.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008266/0.6028, allocations: 2.33 MB / 474.6 MB, free: 46.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000776/0.6037, allocations: 287 kB / 474.9 MB, free: 45.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.604, allocations: 25.69 kB / 474.9 MB, free: 45.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.6055, allocations: 56.84 kB / 475 MB, free: 45.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005121/0.606, allocations: 97.92 kB / 475.1 MB, free: 45.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.6062, allocations: 36.94 kB / 475.1 MB, free: 45.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006174/0.6068, allocations: 297.8 kB / 475.4 MB, free: 45.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6068, allocations: 0 / 475.4 MB, free: 45.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002457/0.6093, allocations: 418.7 kB / 475.8 MB, free: 45.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.008829/0.6182, allocations: 3.081 MB / 478.9 MB, free: 43.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005737/0.624, allocations: 1.869 MB / 480.8 MB, free: 42.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.624, allocations: 0.6562 kB / 480.8 MB, free: 42.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003699/0.6277, allocations: 1.233 MB / 482 MB, free: 42.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000811/0.6286, allocations: 79.64 kB / 482.1 MB, free: 42.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.6432, allocations: 11.35 MB / 493.4 MB, free: 33.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007387/0.644, allocations: 1.096 MB / 494.5 MB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009386/0.645, allocations: 110.1 kB / 494.6 MB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007233/0.6457, allocations: 394.1 kB / 495 MB, free: 32.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6457, allocations: 1.375 kB / 495 MB, free: 32.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07285/0.7186, allocations: 23.63 MB / 0.5065 GB, free: 23.12 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.7188, allocations: 220.1 kB / 0.5067 GB, free: 22.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/3.928, allocations: 0 / 0.5067 GB, free: 22.88 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat