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.001147/0.001147, allocations: 119.5 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 79.86 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2907, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02185/0.3126, allocations: 22.75 MB / 0.5527 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.3246, allocations: 5.522 MB / 0.5581 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004309/0.3289, allocations: 199.4 kB / 0.5583 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02012/0.349, allocations: 9.507 MB / 0.5676 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008316/0.3574, allocations: 2.159 MB / 0.5697 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005408/0.3628, allocations: 1.907 MB / 0.5716 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01643/0.3792, allocations: 14.47 MB / 0.5857 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06984/0.4491, allocations: 34.29 MB / 0.6192 GB, free: 6.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01643/0.4656, allocations: 7.999 MB / 0.627 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02097/0.4866, allocations: 8.725 MB / 0.6355 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007477/0.4941, allocations: 2.098 MB / 0.6376 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009889/0.5041, allocations: 2.363 MB / 0.6399 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008801/0.5129, allocations: 4.317 MB / 0.6441 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.02081/0.5337, allocations: 8.428 MB / 0.6523 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03485/0.5686, allocations: 28.76 MB / 0.6804 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.5687, allocations: 0 / 0.6804 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5687, allocations: 0 / 0.6804 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006377/0.5693, allocations: 0 / 0.6804 GB, free: 7.715 MB / 0.5294 GB 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.05192/0.6213, allocations: 19.02 MB / 0.699 GB, free: 4.562 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.6213, allocations: 8.031 kB / 0.699 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005398/0.6267, allocations: 2.013 MB / 0.7009 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0605/0.6872, allocations: 11.77 MB / 0.7124 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.454/1.141, allocations: 8.876 MB / 0.7211 GB, free: 142.3 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007658/1.142, allocations: 1.056 MB / 0.7221 GB, free: 142.3 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004201/1.146, allocations: 1.37 MB / 0.7235 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04228/1.189, allocations: 23.58 MB / 0.7465 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004325/1.189, allocations: 21.86 kB / 0.7465 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002562/1.192, allocations: 0.5705 MB / 0.7471 GB, free: 132.1 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005799/1.192, allocations: 0.7016 MB / 0.7478 GB, free: 132 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03595/1.228, allocations: 21.68 MB / 0.7689 GB, free: 110.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09887/1.327, allocations: 72.01 MB / 0.8393 GB, free: 37.65 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/1.344, allocations: 28.67 MB / 0.8672 GB, free: 6.301 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006052/1.35, allocations: 4.958 MB / 0.8721 GB, free: 1.32 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02878/1.379, allocations: 16.49 MB / 0.8882 GB, free: 0.6289 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.076e-05/1.379, allocations: 82.11 kB / 0.8883 GB, free: 0.5391 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 6.482e-06/1.379, allocations: 0 / 0.8883 GB, free: 0.5391 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03772/1.417, allocations: 15.72 MB / 0.9036 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/1.417, allocations: 132.7 kB / 0.9037 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008146/1.425, allocations: 5.107 MB / 0.9087 GB, free: 11.54 MB / 0.6076 GB Notification: Performance of collectPreVariables (initialization): time 0.0007988/1.426, allocations: 101.7 kB / 0.9088 GB, free: 11.44 MB / 0.6076 GB Notification: Performance of collectInitialEqns (initialization): time 0.004057/1.43, allocations: 6.098 MB / 0.9148 GB, free: 5.852 MB / 0.6076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002121/1.432, allocations: 1.666 MB / 0.9164 GB, free: 4.172 MB / 0.6076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003271/1.435, allocations: 1.536 MB / 0.9179 GB, free: 2.629 MB / 0.6076 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.435, allocations: 305.1 kB / 0.9182 GB, free: 2.328 MB / 0.6076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006482/1.442, allocations: 4.145 MB / 0.9223 GB, free: 14.18 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008743/1.451, allocations: 7.275 MB / 0.9294 GB, free: 5.457 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/1.467, allocations: 11.93 MB / 0.941 GB, free: 8.062 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/1.467, allocations: 35.88 kB / 0.941 GB, free: 8.027 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02421/1.491, allocations: 13.12 MB / 0.9539 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-05/1.491, allocations: 51.94 kB / 0.9539 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/1.491, allocations: 104.9 kB / 0.954 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006435/1.498, allocations: 3.102 MB / 0.957 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005856/1.504, allocations: 1.591 MB / 0.9586 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007714/1.505, allocations: 335 kB / 0.9589 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005406/1.51, allocations: 1.083 MB / 0.96 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000954/1.511, allocations: 380 kB / 0.9603 GB, free: 4.223 MB / 0.6544 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.2362/1.747, allocations: 5.388 MB / 0.9656 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.748, allocations: 0.5233 MB / 0.9661 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/1.763, allocations: 9.63 MB / 0.9755 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-05/1.763, allocations: 46.59 kB / 0.9756 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.763, allocations: 5.094 kB / 0.9756 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.885e-05/1.763, allocations: 23.97 kB / 0.9756 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02818/1.791, allocations: 20.76 MB / 0.9959 GB, free: 207.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/1.791, allocations: 3.906 kB / 0.9959 GB, free: 207.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003097/1.794, allocations: 0.7314 MB / 0.9966 GB, free: 207.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005339/1.8, allocations: 2.959 MB / 0.9995 GB, free: 206.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005432/1.8, allocations: 105.7 kB / 0.9996 GB, free: 206.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005374/1.801, allocations: 147.3 kB / 0.9997 GB, free: 206.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.801, allocations: 3.938 kB / 0.9997 GB, free: 206.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/1.817, allocations: 14.23 MB / 1.014 GB, free: 199.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/1.819, allocations: 1.391 MB / 1.015 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006635/1.82, allocations: 79.75 kB / 1.015 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/1.822, allocations: 374.7 kB / 1.015 GB, free: 198.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006444/1.823, allocations: 315.1 kB / 1.016 GB, free: 198.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003041/1.823, allocations: 129.5 kB / 1.016 GB, free: 197.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003798/1.827, allocations: 3.421 MB / 1.019 GB, free: 195.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.11e-07/1.827, allocations: 0 / 1.019 GB, free: 195.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006256/1.833, allocations: 3.234 MB / 1.022 GB, free: 192.3 MB / 0.6544 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.01656/1.85, allocations: 14.95 MB / 1.037 GB, free: 177.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01324/1.863, allocations: 9.913 MB / 1.047 GB, free: 167.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.863, allocations: 0 / 1.047 GB, free: 167.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006481/1.869, allocations: 4.44 MB / 1.051 GB, free: 163 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004925/1.874, allocations: 1.275 MB / 1.052 GB, free: 161.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09147/1.966, allocations: 77.9 MB / 1.128 GB, free: 80.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006819/1.973, allocations: 9.006 MB / 1.137 GB, free: 71.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005539/1.978, allocations: 2.873 MB / 1.14 GB, free: 68.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004185/1.982, allocations: 4.674 MB / 1.144 GB, free: 63.62 MB / 0.6544 GB Notification: Performance of SimCode: time 1.173e-06/1.983, allocations: 0 / 1.144 GB, free: 63.62 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4316/2.414, allocations: 178.6 MB / 1.319 GB, free: 150.4 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.16/24.58, allocations: 16.78 kB / 1.319 GB, free: 150.4 MB / 0.6701 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