Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_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.001283/0.001283, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.001464/0.001464, allocations: 192.1 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2384/0.2384, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1462, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02015/0.1664, allocations: 19.9 MB / 0.5068 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.1791, allocations: 4.931 MB / 0.5116 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005037/0.1842, allocations: 139.5 kB / 0.5118 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01768/0.2019, allocations: 7.787 MB / 0.5194 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00932/0.2113, allocations: 2.293 MB / 0.5216 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.2157, allocations: 1.267 MB / 0.5229 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3565/0.5723, allocations: 12.35 MB / 0.5349 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05313/0.6254, allocations: 26.23 MB / 0.5605 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01635/0.6418, allocations: 6.618 MB / 0.567 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01897/0.6609, allocations: 7.327 MB / 0.5742 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007899/0.6688, allocations: 1.734 MB / 0.5758 GB, free: 4.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/0.679, allocations: 1.926 MB / 0.5777 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01303/0.6921, allocations: 3.926 MB / 0.5816 GB, free: 0 / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02148/0.7136, allocations: 7.116 MB / 0.5885 GB, free: 9.301 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03603/0.7497, allocations: 23.68 MB / 0.6116 GB, free: 4.016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.7498, allocations: 4 kB / 0.6116 GB, free: 4.012 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7498, allocations: 0 / 0.6116 GB, free: 4.012 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009148/0.7507, allocations: 0 / 0.6116 GB, free: 4.012 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: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.0503/0.801, allocations: 14.79 MB / 0.6261 GB, free: 5.242 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.559e-05/0.8011, allocations: 15.89 kB / 0.6261 GB, free: 5.227 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007566/0.8087, allocations: 1.758 MB / 0.6278 GB, free: 3.473 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06504/0.8738, allocations: 12.42 MB / 0.6399 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01745/0.8913, allocations: 6.614 MB / 0.6464 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001076/0.8924, allocations: 0.9049 MB / 0.6473 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005966/0.8984, allocations: 1.184 MB / 0.6484 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0513/0.9497, allocations: 19.05 MB / 0.667 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004171/0.9502, allocations: 23.8 kB / 0.6671 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003651/0.9538, allocations: 0.4931 MB / 0.6676 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006688/0.9545, allocations: 0.6856 MB / 0.6682 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04284/0.9974, allocations: 19.83 MB / 0.6876 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1148/1.112, allocations: 61.55 MB / 0.7477 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5067/1.619, allocations: 20.17 MB / 0.7674 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009065/1.628, allocations: 4.631 MB / 0.7719 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007469/1.629, allocations: 242.2 kB / 0.7721 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/1.629, allocations: 110.6 kB / 0.7722 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 1.061e-05/1.629, allocations: 3.438 kB / 0.7722 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02507/1.654, allocations: 12.54 MB / 0.7845 GB, free: 167 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/1.654, allocations: 121.8 kB / 0.7846 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01527/1.669, allocations: 8.723 MB / 0.7931 GB, free: 164.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001346/1.671, allocations: 133.4 kB / 0.7933 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003428/1.674, allocations: 4.609 MB / 0.7978 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00238/1.677, allocations: 2.258 MB / 0.8 GB, free: 159 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002444/1.679, allocations: 1.515 MB / 0.8014 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/1.679, allocations: 301.1 kB / 0.8017 GB, free: 158 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006249/1.685, allocations: 4.194 MB / 0.8058 GB, free: 156.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00834/1.694, allocations: 7.23 MB / 0.8129 GB, free: 151.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/1.708, allocations: 12.4 MB / 0.825 GB, free: 143.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001316/1.709, allocations: 34.47 kB / 0.825 GB, free: 143.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02211/1.731, allocations: 12.4 MB / 0.8371 GB, free: 137.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.731, allocations: 48 kB / 0.8372 GB, free: 137.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002158/1.731, allocations: 100 kB / 0.8373 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009134/1.732, allocations: 425.8 kB / 0.8377 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007492/1.74, allocations: 2.097 MB / 0.8397 GB, free: 135.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00677/1.746, allocations: 9.602 MB / 0.8491 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008664/1.755, allocations: 1.406 MB / 0.8505 GB, free: 124.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/1.757, allocations: 397.7 kB / 0.8509 GB, free: 123.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.00787/1.765, allocations: 4.659 MB / 0.8554 GB, free: 119.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/1.766, allocations: 0.7175 MB / 0.8561 GB, free: 118.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/1.781, allocations: 11.04 MB / 0.8669 GB, free: 107.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.874e-05/1.781, allocations: 68 kB / 0.867 GB, free: 107.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.781, allocations: 4 kB / 0.867 GB, free: 107.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-05/1.781, allocations: 35.86 kB / 0.867 GB, free: 107.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4707/2.252, allocations: 159 MB / 1.022 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002139/2.252, allocations: 88.75 kB / 1.022 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006085/2.258, allocations: 1.571 MB / 1.024 GB, free: 173.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008619/2.259, allocations: 385.6 kB / 1.024 GB, free: 173.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001183/2.261, allocations: 251 kB / 1.025 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005812/2.266, allocations: 9.465 MB / 1.034 GB, free: 164.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.002e-05/2.267, allocations: 141.2 kB / 1.034 GB, free: 164.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02532/2.292, allocations: 18.85 MB / 1.052 GB, free: 153.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007603/2.299, allocations: 2.04 MB / 1.054 GB, free: 152.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002385/2.302, allocations: 244.5 kB / 1.055 GB, free: 152.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007653/2.31, allocations: 0.5606 MB / 1.055 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002577/2.312, allocations: 0.7516 MB / 1.056 GB, free: 152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008259/2.313, allocations: 313.3 kB / 1.056 GB, free: 152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01253/2.326, allocations: 6.122 MB / 1.062 GB, free: 148.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.62e-07/2.326, allocations: 0 / 1.062 GB, free: 148.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01173/2.337, allocations: 2.682 MB / 1.065 GB, free: 145.8 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * 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.01996/2.357, allocations: 19.76 MB / 1.084 GB, free: 125.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01512/2.373, allocations: 10.83 MB / 1.095 GB, free: 115 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.543e-05/2.373, allocations: 16 kB / 1.095 GB, free: 115 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007133/2.38, allocations: 5.511 MB / 1.1 GB, free: 109.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01189/2.392, allocations: 1.51 MB / 1.101 GB, free: 107.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1585/2.55, allocations: 101.3 MB / 1.2 GB, free: 15.85 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01764/2.568, allocations: 7.88 MB / 1.208 GB, free: 7.934 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01175/2.58, allocations: 3.65 MB / 1.212 GB, free: 4.273 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01059/2.59, allocations: 4.237 MB / 1.216 GB, free: 36 kB / 0.6232 GB Notification: Performance of SimCode: time 3.487e-06/2.59, allocations: 4 kB / 1.216 GB, free: 32 kB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5429/3.133, allocations: 193.4 MB / 1.405 GB, free: 77.52 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.25/32.38, allocations: 4.719 kB / 1.405 GB, free: 77.52 MB / 0.6388 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches