Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001409, allocations: 100 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 192.1 kB / 18.56 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.18 MB / 336.6 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.27 kB / 408.5 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1085, allocations: 60.82 MB / 469.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01984/0.1283, allocations: 19.73 MB / 489.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.1398, allocations: 4.912 MB / 494 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.1432, allocations: 167.4 kB / 494.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.017/0.1603, allocations: 7.755 MB / 0.4902 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008869/0.1692, allocations: 2.201 MB / 0.4923 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004184/0.1734, allocations: 1.268 MB / 0.4935 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2124/0.3858, allocations: 12.06 MB / 0.5053 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03217/0.418, allocations: 26.19 MB / 0.5309 GB, free: 4.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008047/0.4261, allocations: 6.492 MB / 0.5372 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.437, allocations: 7.279 MB / 0.5443 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004569/0.4416, allocations: 1.723 MB / 0.546 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005366/0.447, allocations: 1.904 MB / 0.5479 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004395/0.4514, allocations: 3.648 MB / 0.5514 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01144/0.4629, allocations: 7.043 MB / 0.5583 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0244/0.4873, allocations: 23.46 MB / 0.5812 GB, free: 9.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4873, allocations: 4 kB / 0.5812 GB, free: 9.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4873, allocations: 0 / 0.5812 GB, free: 9.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005091/0.4879, allocations: 0 / 0.5812 GB, free: 9.438 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03881/0.5267, allocations: 14.56 MB / 0.5955 GB, free: 10.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.5267, allocations: 8.031 kB / 0.5955 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005726/0.5325, allocations: 1.721 MB / 0.5971 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06154/0.594, allocations: 11.43 MB / 0.6083 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.608, allocations: 7.09 MB / 0.6152 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007804/0.6088, allocations: 0.8884 MB / 0.6161 GB, free: 6.141 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004125/0.613, allocations: 1.178 MB / 0.6173 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03694/0.6499, allocations: 18.55 MB / 0.6354 GB, free: 2.406 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000253/0.6502, allocations: 23.89 kB / 0.6354 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001754/0.652, allocations: 495.8 kB / 0.6359 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005943/0.6526, allocations: 0.6535 MB / 0.6365 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03717/0.6897, allocations: 19.07 MB / 0.6551 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4714/1.161, allocations: 60.68 MB / 0.7144 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01735/1.179, allocations: 16.6 MB / 0.7306 GB, free: 134 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005886/1.184, allocations: 4.521 MB / 0.735 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/1.185, allocations: 237.2 kB / 0.7352 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/1.185, allocations: 111.4 kB / 0.7353 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.125e-06/1.185, allocations: 0 / 0.7353 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01709/1.202, allocations: 12.35 MB / 0.7474 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/1.202, allocations: 124.1 kB / 0.7475 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/1.214, allocations: 8.603 MB / 0.7559 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.215, allocations: 132 kB / 0.756 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002352/1.218, allocations: 4.486 MB / 0.7604 GB, free: 123 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001987/1.22, allocations: 2.193 MB / 0.7626 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001913/1.222, allocations: 1.438 MB / 0.764 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.079e-05/1.222, allocations: 306.9 kB / 0.7643 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004799/1.226, allocations: 4.101 MB / 0.7683 GB, free: 119 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00639/1.233, allocations: 6.907 MB / 0.775 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/1.245, allocations: 11.94 MB / 0.7867 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.846e-05/1.245, allocations: 26.5 kB / 0.7867 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01567/1.26, allocations: 12 MB / 0.7984 GB, free: 92.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/1.26, allocations: 44.62 kB / 0.7985 GB, free: 92.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/1.261, allocations: 88 kB / 0.7985 GB, free: 92.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008729/1.261, allocations: 420.8 kB / 0.7989 GB, free: 91.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00627/1.268, allocations: 2.001 MB / 0.8009 GB, free: 89.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004908/1.273, allocations: 9.583 MB / 0.8103 GB, free: 79.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006629/1.279, allocations: 1.354 MB / 0.8116 GB, free: 78.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006215/1.28, allocations: 368 kB / 0.8119 GB, free: 77.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005888/1.286, allocations: 4.582 MB / 0.8164 GB, free: 73.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.287, allocations: 0.7068 MB / 0.8171 GB, free: 72.44 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.3, allocations: 10.61 MB / 0.8275 GB, free: 61.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/1.3, allocations: 64 kB / 0.8275 GB, free: 61.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.3, allocations: 4 kB / 0.8275 GB, free: 61.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.764e-05/1.3, allocations: 35.86 kB / 0.8276 GB, free: 61.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3834/1.683, allocations: 156.6 MB / 0.9805 GB, free: 155.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001717/1.684, allocations: 84 kB / 0.9806 GB, free: 155.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005298/1.689, allocations: 1.546 MB / 0.9821 GB, free: 153.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007899/1.69, allocations: 387 kB / 0.9824 GB, free: 153.5 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006093/1.69, allocations: 245.1 kB / 0.9827 GB, free: 153.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004968/1.695, allocations: 9.463 MB / 0.9919 GB, free: 143.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.457e-05/1.695, allocations: 135.4 kB / 0.992 GB, free: 142.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01872/1.714, allocations: 18.53 MB / 1.01 GB, free: 122.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004408/1.718, allocations: 2.008 MB / 1.012 GB, free: 120.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00166/1.72, allocations: 241.2 kB / 1.012 GB, free: 120.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005142/1.725, allocations: 0.558 MB / 1.013 GB, free: 120 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009003/1.726, allocations: 0.7347 MB / 1.014 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000442/1.727, allocations: 304 kB / 1.014 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008196/1.735, allocations: 6.051 MB / 1.02 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.71e-07/1.735, allocations: 2.719 kB / 1.02 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009179/1.744, allocations: 2.624 MB / 1.022 GB, free: 110.3 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01865/1.763, allocations: 19.42 MB / 1.041 GB, free: 88.77 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0249/1.788, allocations: 16.72 MB / 1.058 GB, free: 72.04 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.485e-05/1.788, allocations: 16 kB / 1.058 GB, free: 72.03 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00648/1.794, allocations: 5.444 MB / 1.063 GB, free: 66.52 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009019/1.803, allocations: 1.486 MB / 1.064 GB, free: 65.08 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3577/2.161, allocations: 143.5 MB / 1.205 GB, free: 136.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008162/2.169, allocations: 7.776 MB / 1.212 GB, free: 133.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009302/2.179, allocations: 3.561 MB / 1.216 GB, free: 133.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006967/2.186, allocations: 4.157 MB / 1.22 GB, free: 130 MB / 0.5763 GB Notification: Performance of SimCode: time 1.332e-06/2.186, allocations: 0 / 1.22 GB, free: 130 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4481/2.634, allocations: 194.5 MB / 1.41 GB, free: 177.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/15.74, allocations: 9.344 kB / 1.41 GB, free: 177.5 MB / 0.5763 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches