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.001719/0.001719, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002101/0.002101, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.09 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 71.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2782, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02191/0.3002, allocations: 22.75 MB / 0.5527 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.3117, allocations: 5.518 MB / 0.5581 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004304/0.316, allocations: 195.4 kB / 0.5583 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02092/0.337, allocations: 9.517 MB / 0.5676 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008123/0.3451, allocations: 2.155 MB / 0.5697 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005346/0.3505, allocations: 1.9 MB / 0.5716 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01717/0.3677, allocations: 14.47 MB / 0.5857 GB, free: 9.102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0496/0.4173, allocations: 34.29 MB / 0.6192 GB, free: 6.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01065/0.428, allocations: 8.003 MB / 0.627 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01191/0.4399, allocations: 8.717 MB / 0.6355 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00489/0.4449, allocations: 2.098 MB / 0.6376 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006421/0.4513, allocations: 2.355 MB / 0.6399 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006006/0.4573, allocations: 4.318 MB / 0.6441 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01327/0.4706, allocations: 8.439 MB / 0.6523 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03201/0.5027, allocations: 28.76 MB / 0.6804 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.5027, allocations: 3.938 kB / 0.6804 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5027, allocations: 0 / 0.6804 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007086/0.5034, allocations: 0 / 0.6804 GB, free: 7.703 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.0582/0.5617, allocations: 19.02 MB / 0.699 GB, free: 4.562 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.5617, allocations: 12.03 kB / 0.699 GB, free: 4.551 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006518/0.5683, allocations: 2.013 MB / 0.7009 GB, free: 2.527 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06327/0.6315, allocations: 11.77 MB / 0.7124 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4429/1.074, allocations: 8.869 MB / 0.7211 GB, free: 142.3 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008959/1.075, allocations: 1.057 MB / 0.7221 GB, free: 142.3 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004791/1.08, allocations: 1.368 MB / 0.7235 GB, free: 142 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04924/1.129, allocations: 23.58 MB / 0.7465 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004509/1.13, allocations: 22.47 kB / 0.7465 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003611/1.134, allocations: 0.5705 MB / 0.7471 GB, free: 132.2 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004777/1.134, allocations: 0.7053 MB / 0.7478 GB, free: 132.1 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03581/1.17, allocations: 21.68 MB / 0.7689 GB, free: 110.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1012/1.271, allocations: 72 MB / 0.8393 GB, free: 37.64 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01935/1.29, allocations: 28.66 MB / 0.8672 GB, free: 6.297 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006859/1.297, allocations: 4.962 MB / 0.8721 GB, free: 1.312 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03359/1.331, allocations: 16.49 MB / 0.8882 GB, free: 0.5742 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/1.331, allocations: 82.11 kB / 0.8883 GB, free: 496 kB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 6.773e-06/1.331, allocations: 0 / 0.8883 GB, free: 496 kB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03877/1.37, allocations: 15.72 MB / 0.9036 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/1.37, allocations: 124.7 kB / 0.9037 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008737/1.379, allocations: 5.113 MB / 0.9087 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0007861/1.38, allocations: 97.7 kB / 0.9088 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003863/1.383, allocations: 6.104 MB / 0.9148 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002203/1.386, allocations: 1.666 MB / 0.9164 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004062/1.39, allocations: 1.54 MB / 0.9179 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.39, allocations: 309.1 kB / 0.9182 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007692/1.398, allocations: 4.141 MB / 0.9223 GB, free: 14.12 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009682/1.407, allocations: 7.263 MB / 0.9294 GB, free: 5.41 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01655/1.424, allocations: 11.93 MB / 0.941 GB, free: 8.012 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.695e-05/1.424, allocations: 31.94 kB / 0.941 GB, free: 7.98 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02292/1.447, allocations: 13.12 MB / 0.9539 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/1.447, allocations: 56.03 kB / 0.9539 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/1.447, allocations: 104 kB / 0.954 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00666/1.454, allocations: 3.098 MB / 0.957 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005897/1.46, allocations: 1.587 MB / 0.9586 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000844/1.461, allocations: 342.9 kB / 0.9589 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005956/1.467, allocations: 1.079 MB / 0.96 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/1.468, allocations: 376 kB / 0.9603 GB, free: 4.18 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.2717/1.739, allocations: 5.39 MB / 0.9656 GB, free: 217.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001488/1.741, allocations: 0.5273 MB / 0.9661 GB, free: 217.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/1.756, allocations: 9.624 MB / 0.9755 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.971e-05/1.756, allocations: 47.03 kB / 0.9755 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.756, allocations: 1.25 kB / 0.9755 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.577e-05/1.756, allocations: 26.77 kB / 0.9756 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02992/1.786, allocations: 20.77 MB / 0.9959 GB, free: 207.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/1.786, allocations: 0 / 0.9959 GB, free: 207.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/1.789, allocations: 0.7335 MB / 0.9966 GB, free: 207.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005372/1.795, allocations: 2.968 MB / 0.9995 GB, free: 206.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005485/1.795, allocations: 102 kB / 0.9996 GB, free: 206.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006181/1.796, allocations: 148.8 kB / 0.9997 GB, free: 206.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.796, allocations: 0 / 0.9997 GB, free: 206.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01794/1.814, allocations: 14.23 MB / 1.014 GB, free: 199.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003449/1.817, allocations: 1.391 MB / 1.015 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.819, allocations: 80 kB / 1.015 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003089/1.822, allocations: 369.8 kB / 1.015 GB, free: 198.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006604/1.822, allocations: 312.1 kB / 1.016 GB, free: 198 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002973/1.823, allocations: 130.6 kB / 1.016 GB, free: 197.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004536/1.827, allocations: 3.426 MB / 1.019 GB, free: 195.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/1.827, allocations: 0 / 1.019 GB, free: 195.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007605/1.835, allocations: 3.231 MB / 1.022 GB, free: 192.2 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.01815/1.853, allocations: 14.97 MB / 1.037 GB, free: 177.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01539/1.868, allocations: 9.898 MB / 1.047 GB, free: 167.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.868, allocations: 0 / 1.047 GB, free: 167.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007939/1.876, allocations: 4.451 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.007177/1.884, allocations: 1.266 MB / 1.052 GB, free: 161.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1102/1.994, allocations: 77.91 MB / 1.128 GB, free: 80.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009038/2.003, allocations: 9.006 MB / 1.137 GB, free: 71.13 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00583/2.009, allocations: 2.869 MB / 1.14 GB, free: 68.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005161/2.014, allocations: 4.674 MB / 1.144 GB, free: 63.58 MB / 0.6544 GB Notification: Performance of SimCode: time 8.52e-07/2.014, allocations: 4 kB / 1.144 GB, free: 63.58 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.433/2.447, allocations: 178.6 MB / 1.319 GB, free: 149.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.95/24.39, allocations: 9.484 kB / 1.319 GB, free: 149.7 MB / 0.67 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