Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001238, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2083/0.2083, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001454, allocations: 72.34 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09788/0.09935, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02278/0.1222, allocations: 22.74 MB / 0.4911 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1328, allocations: 5.518 MB / 0.4965 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003495/0.1363, allocations: 203.3 kB / 0.4967 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2056/0.3419, allocations: 9.461 MB / 0.5059 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007453/0.3494, allocations: 2.151 MB / 0.508 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004996/0.3544, allocations: 1.895 MB / 0.5099 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0148/0.3692, allocations: 14.36 MB / 0.5239 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04882/0.4181, allocations: 34.44 MB / 0.5575 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01407/0.4322, allocations: 7.97 MB / 0.5653 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01271/0.445, allocations: 8.737 MB / 0.5738 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005981/0.451, allocations: 2.098 MB / 0.5759 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008215/0.4592, allocations: 2.365 MB / 0.5782 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00675/0.466, allocations: 4.32 MB / 0.5824 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01817/0.4842, allocations: 8.424 MB / 0.5906 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03031/0.5145, allocations: 28.52 MB / 0.6185 GB, free: 4.695 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5146, allocations: 0 / 0.6185 GB, free: 4.695 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5146, allocations: 0 / 0.6185 GB, free: 4.695 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007114/0.5153, allocations: 0 / 0.6185 GB, free: 4.695 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05551/0.5708, allocations: 18.71 MB / 0.6368 GB, free: 2.066 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5709, allocations: 12.03 kB / 0.6368 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006024/0.5769, allocations: 2.014 MB / 0.6387 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06304/0.64, allocations: 11.7 MB / 0.6502 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01703/0.657, allocations: 8.559 MB / 0.6585 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/0.6581, allocations: 1.06 MB / 0.6595 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004544/0.6626, allocations: 1.373 MB / 0.6609 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05513/0.7178, allocations: 23.58 MB / 0.6839 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006138/0.7185, allocations: 19.81 kB / 0.6839 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004336/0.7228, allocations: 0.5668 MB / 0.6845 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007242/0.7235, allocations: 0.7017 MB / 0.6852 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4176/1.141, allocations: 21.68 MB / 0.7063 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/1.244, allocations: 72.71 MB / 0.7773 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01959/1.264, allocations: 28.66 MB / 0.8053 GB, free: 75.51 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006883/1.271, allocations: 4.958 MB / 0.8102 GB, free: 70.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.024/1.295, allocations: 16.5 MB / 0.8263 GB, free: 53.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/1.295, allocations: 86.05 kB / 0.8264 GB, free: 53.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.032e-06/1.295, allocations: 0 / 0.8264 GB, free: 53.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03351/1.329, allocations: 15.7 MB / 0.8417 GB, free: 37.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/1.329, allocations: 120.7 kB / 0.8418 GB, free: 37.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006851/1.336, allocations: 5.101 MB / 0.8468 GB, free: 32.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007157/1.336, allocations: 97.7 kB / 0.8469 GB, free: 32.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00217/1.338, allocations: 5.894 MB / 0.8527 GB, free: 26.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.34, allocations: 1.581 MB / 0.8542 GB, free: 25.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001856/1.342, allocations: 1.535 MB / 0.8557 GB, free: 23.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.341e-05/1.342, allocations: 309.1 kB / 0.856 GB, free: 23.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00486/1.346, allocations: 4.141 MB / 0.86 GB, free: 19.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005797/1.352, allocations: 7.267 MB / 0.8671 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/1.364, allocations: 11.93 MB / 0.8788 GB, free: 12.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.609e-05/1.364, allocations: 32 kB / 0.8788 GB, free: 12.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01995/1.384, allocations: 13.1 MB / 0.8916 GB, free: 15.8 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/1.384, allocations: 48.22 kB / 0.8917 GB, free: 15.76 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.384, allocations: 108 kB / 0.8918 GB, free: 15.65 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00651/1.391, allocations: 3.102 MB / 0.8948 GB, free: 12.54 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005875/1.397, allocations: 1.599 MB / 0.8964 GB, free: 10.93 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008085/1.398, allocations: 331 kB / 0.8967 GB, free: 10.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00584/1.404, allocations: 1.061 MB / 0.8977 GB, free: 9.527 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.405, allocations: 380 kB / 0.8981 GB, free: 9.156 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01045/1.415, allocations: 5.394 MB / 0.9033 GB, free: 3.746 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/1.416, allocations: 0.4938 MB / 0.9038 GB, free: 3.246 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/1.434, allocations: 9.632 MB / 0.9132 GB, free: 9.578 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/1.434, allocations: 48 kB / 0.9133 GB, free: 9.531 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/1.434, allocations: 0 / 0.9133 GB, free: 9.531 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.04e-05/1.434, allocations: 23.91 kB / 0.9133 GB, free: 9.508 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2426/1.677, allocations: 20.8 MB / 0.9336 GB, free: 187.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/1.677, allocations: 2.266 kB / 0.9336 GB, free: 187.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003075/1.68, allocations: 0.7333 MB / 0.9343 GB, free: 187 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005913/1.686, allocations: 2.984 MB / 0.9372 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006686/1.687, allocations: 100.2 kB / 0.9373 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006153/1.687, allocations: 153 kB / 0.9375 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.687, allocations: 1.562 kB / 0.9375 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/1.705, allocations: 14.2 MB / 0.9513 GB, free: 180.8 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002538/1.707, allocations: 1.372 MB / 0.9527 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007868/1.708, allocations: 79.88 kB / 0.9528 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/1.711, allocations: 362.7 kB / 0.9531 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006384/1.711, allocations: 315.2 kB / 0.9534 GB, free: 180.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002807/1.712, allocations: 129.8 kB / 0.9535 GB, free: 180.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004403/1.716, allocations: 3.426 MB / 0.9569 GB, free: 179 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.5e-07/1.716, allocations: 0 / 0.9569 GB, free: 179 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006802/1.723, allocations: 3.191 MB / 0.96 GB, free: 178.1 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01707/1.74, allocations: 14.92 MB / 0.9746 GB, free: 170.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.03506/1.775, allocations: 19.62 MB / 0.9937 GB, free: 152.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.775, allocations: 0 / 0.9937 GB, free: 152.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007037/1.782, allocations: 4.446 MB / 0.9981 GB, free: 148.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005896/1.788, allocations: 1.271 MB / 0.9993 GB, free: 147.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1069/1.895, allocations: 90 MB / 1.087 GB, free: 52.43 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01065/1.906, allocations: 9.01 MB / 1.096 GB, free: 43.38 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006544/1.912, allocations: 2.869 MB / 1.099 GB, free: 40.51 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005101/1.917, allocations: 4.678 MB / 1.103 GB, free: 35.83 MB / 0.5763 GB Notification: Performance of SimCode: time 7.12e-07/1.917, allocations: 0 / 1.103 GB, free: 35.83 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3926/2.31, allocations: 179.4 MB / 1.279 GB, free: 74.23 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/16.04, allocations: 23.95 kB / 1.279 GB, free: 74.21 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches