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.001528/0.001528, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001744/0.001744, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.283/1.283, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1898/0.1898, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 71.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2825, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01841/0.3009, allocations: 19.73 MB / 0.5377 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.3111, allocations: 4.916 MB / 0.5425 GB, free: 472 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003435/0.3146, allocations: 160.9 kB / 0.5427 GB, free: 440 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01639/0.331, allocations: 7.786 MB / 0.5503 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007579/0.3386, allocations: 2.222 MB / 0.5524 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.3423, allocations: 1.265 MB / 0.5537 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01332/0.3556, allocations: 12.16 MB / 0.5655 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0345/0.3901, allocations: 26.08 MB / 0.591 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00857/0.3988, allocations: 6.522 MB / 0.5974 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/0.4088, allocations: 7.206 MB / 0.6044 GB, free: 3.676 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004386/0.4132, allocations: 1.723 MB / 0.6061 GB, free: 1.953 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005959/0.4192, allocations: 1.914 MB / 0.608 GB, free: 44 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005344/0.4246, allocations: 3.647 MB / 0.6115 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01092/0.4355, allocations: 7.011 MB / 0.6184 GB, free: 5.348 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02491/0.4605, allocations: 23.67 MB / 0.6415 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4605, allocations: 0 / 0.6415 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4605, allocations: 8 kB / 0.6415 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005504/0.4611, allocations: 0 / 0.6415 GB, free: 13.59 MB / 0.4981 GB 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.03926/0.5003, allocations: 14.82 MB / 0.656 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5004, allocations: 12.03 kB / 0.656 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004941/0.5054, allocations: 1.722 MB / 0.6576 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0611/0.5665, allocations: 11.49 MB / 0.6689 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/0.5828, allocations: 7.344 MB / 0.676 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007971/0.5836, allocations: 0.8871 MB / 0.6769 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004393/0.588, allocations: 1.172 MB / 0.6781 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04075/0.6288, allocations: 18.56 MB / 0.6962 GB, free: 5.289 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003142/0.6291, allocations: 15.94 kB / 0.6962 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002279/0.6314, allocations: 0.4921 MB / 0.6967 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005928/0.632, allocations: 0.6577 MB / 0.6973 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03568/0.6677, allocations: 19.08 MB / 0.716 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.484/1.152, allocations: 60.15 MB / 0.7747 GB, free: 114.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/1.167, allocations: 16.62 MB / 0.7909 GB, free: 99.82 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005148/1.172, allocations: 4.524 MB / 0.7953 GB, free: 95.27 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/1.173, allocations: 236.7 kB / 0.7956 GB, free: 95.04 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/1.173, allocations: 107.7 kB / 0.7957 GB, free: 94.92 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.764e-06/1.173, allocations: 4 kB / 0.7957 GB, free: 94.92 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01444/1.187, allocations: 12.38 MB / 0.8078 GB, free: 82.33 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/1.187, allocations: 116.5 kB / 0.8079 GB, free: 82.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009626/1.197, allocations: 8.617 MB / 0.8163 GB, free: 73.64 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008313/1.198, allocations: 133.7 kB / 0.8164 GB, free: 73.51 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002285/1.2, allocations: 4.607 MB / 0.8209 GB, free: 69.43 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001609/1.202, allocations: 2.298 MB / 0.8232 GB, free: 67.39 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001787/1.204, allocations: 1.443 MB / 0.8246 GB, free: 65.95 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.242e-05/1.204, allocations: 305.1 kB / 0.8249 GB, free: 65.64 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004746/1.208, allocations: 4.098 MB / 0.8289 GB, free: 61.54 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005576/1.214, allocations: 6.913 MB / 0.8356 GB, free: 53.37 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/1.225, allocations: 11.94 MB / 0.8473 GB, free: 40.07 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.291e-05/1.225, allocations: 28 kB / 0.8473 GB, free: 40.05 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01519/1.241, allocations: 12.03 MB / 0.859 GB, free: 27.91 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/1.241, allocations: 44 kB / 0.8591 GB, free: 27.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-05/1.241, allocations: 99.94 kB / 0.8592 GB, free: 27.77 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008102/1.242, allocations: 412.9 kB / 0.8596 GB, free: 27.34 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006368/1.248, allocations: 2.001 MB / 0.8615 GB, free: 25.34 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004793/1.253, allocations: 9.581 MB / 0.8709 GB, free: 14.91 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006218/1.259, allocations: 1.389 MB / 0.8722 GB, free: 13.52 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000862/1.26, allocations: 372 kB / 0.8726 GB, free: 13.15 MB / 0.5607 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.005527/1.265, allocations: 4.582 MB / 0.8771 GB, free: 8.555 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.267, allocations: 0.7412 MB / 0.8778 GB, free: 7.809 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/1.28, allocations: 10.59 MB / 0.8881 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.566e-05/1.281, allocations: 68 kB / 0.8882 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/1.281, allocations: 7.938 kB / 0.8882 GB, free: 13.03 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.574e-05/1.281, allocations: 35.86 kB / 0.8882 GB, free: 13 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3777/1.658, allocations: 156.5 MB / 1.041 GB, free: 164.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001121/1.658, allocations: 84 kB / 1.041 GB, free: 164 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00507/1.664, allocations: 1.54 MB / 1.043 GB, free: 162.5 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007246/1.664, allocations: 385.5 kB / 1.043 GB, free: 162.1 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004232/1.665, allocations: 244 kB / 1.043 GB, free: 161.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00451/1.669, allocations: 9.468 MB / 1.053 GB, free: 151.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.904e-05/1.669, allocations: 135.4 kB / 1.053 GB, free: 151.6 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/1.686, allocations: 18.56 MB / 1.071 GB, free: 131.4 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004844/1.691, allocations: 2.056 MB / 1.073 GB, free: 129.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001643/1.693, allocations: 243.9 kB / 1.073 GB, free: 129.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005133/1.698, allocations: 0.5541 MB / 1.074 GB, free: 128.8 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008323/1.699, allocations: 0.7301 MB / 1.074 GB, free: 128.1 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004239/1.699, allocations: 309.9 kB / 1.075 GB, free: 127.8 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007326/1.707, allocations: 6.051 MB / 1.08 GB, free: 121.7 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.5e-07/1.707, allocations: 0 / 1.08 GB, free: 121.7 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.008097/1.715, allocations: 2.639 MB / 1.083 GB, free: 119.3 MB / 0.6388 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.01775/1.733, allocations: 19.47 MB / 1.102 GB, free: 97.77 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.745, allocations: 10.59 MB / 1.112 GB, free: 87.09 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 4.744e-05/1.745, allocations: 18.84 kB / 1.112 GB, free: 87.07 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.006435/1.752, allocations: 5.438 MB / 1.118 GB, free: 81.57 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009166/1.761, allocations: 1.493 MB / 1.119 GB, free: 80.11 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3474/2.108, allocations: 99.16 MB / 1.216 GB, free: 204 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/2.118, allocations: 7.77 MB / 1.224 GB, free: 203 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.007532/2.126, allocations: 3.56 MB / 1.227 GB, free: 202.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005375/2.131, allocations: 4.157 MB / 1.231 GB, free: 201.6 MB / 0.6544 GB Notification: Performance of SimCode: time 7.91e-07/2.131, allocations: 0 / 1.231 GB, free: 201.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2189/2.35, allocations: 189.2 MB / 1.416 GB, free: 35.55 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.52/27.87, allocations: 8.719 kB / 1.416 GB, free: 35.55 MB / 0.6544 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