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.001142/0.001142, allocations: 103.9 kB / 16.4 MB, free: 6.449 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.001191/0.001192, allocations: 188.2 kB / 17.34 MB, free: 5.719 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.42/1.42, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2219/0.2219, allocations: 43.52 MB / 314.1 MB, free: 448 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.001569/0.001569, allocations: 67.89 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1391, 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.02257/0.1617, allocations: 19.91 MB / 0.5068 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.1751, allocations: 4.931 MB / 0.5117 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004763/0.1799, allocations: 139.5 kB / 0.5118 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01775/0.1978, allocations: 7.787 MB / 0.5194 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009377/0.2072, allocations: 2.285 MB / 0.5216 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004322/0.2115, allocations: 1.263 MB / 0.5229 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3513/0.5628, allocations: 12.35 MB / 0.5349 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04399/0.6069, allocations: 26.22 MB / 0.5605 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01566/0.6226, allocations: 6.621 MB / 0.567 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01533/0.638, allocations: 7.327 MB / 0.5741 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006082/0.6441, allocations: 1.734 MB / 0.5758 GB, free: 4.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008818/0.653, allocations: 1.928 MB / 0.5777 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01193/0.665, allocations: 3.927 MB / 0.5816 GB, free: 0 / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0178/0.6828, allocations: 7.154 MB / 0.5885 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03503/0.7179, allocations: 23.68 MB / 0.6117 GB, free: 3.988 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.7179, allocations: 0 / 0.6117 GB, free: 3.988 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7179, allocations: 0 / 0.6117 GB, free: 3.988 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009017/0.7188, allocations: 0 / 0.6117 GB, free: 3.988 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.05076/0.7696, allocations: 14.8 MB / 0.6261 GB, free: 5.207 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.7697, allocations: 15.89 kB / 0.6261 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008104/0.7778, allocations: 1.755 MB / 0.6279 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06418/0.842, allocations: 12.42 MB / 0.64 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01982/0.8619, allocations: 6.611 MB / 0.6464 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00127/0.8632, allocations: 0.9003 MB / 0.6473 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006459/0.8697, allocations: 1.185 MB / 0.6485 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05379/0.9235, allocations: 19.05 MB / 0.6671 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006599/0.9242, allocations: 27.8 kB / 0.6671 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004854/0.9291, allocations: 0.4957 MB / 0.6676 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007817/0.9299, allocations: 0.6856 MB / 0.6683 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04642/0.9763, allocations: 19.83 MB / 0.6876 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1293/1.106, allocations: 61.53 MB / 0.7477 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5415/1.647, allocations: 20.18 MB / 0.7674 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008706/1.656, allocations: 4.628 MB / 0.7719 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000515/1.657, allocations: 240.1 kB / 0.7722 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.74e-05/1.657, allocations: 113.8 kB / 0.7723 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 9.027e-06/1.657, allocations: 0 / 0.7723 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02219/1.679, allocations: 12.54 MB / 0.7845 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/1.679, allocations: 121.3 kB / 0.7846 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01265/1.692, allocations: 8.726 MB / 0.7932 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/1.693, allocations: 137.5 kB / 0.7933 GB, free: 164 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002787/1.696, allocations: 4.607 MB / 0.7978 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002198/1.698, allocations: 2.264 MB / 0.8 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/1.7, allocations: 1.507 MB / 0.8015 GB, free: 158.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.495e-05/1.7, allocations: 304.6 kB / 0.8018 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005222/1.705, allocations: 4.194 MB / 0.8059 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006372/1.711, allocations: 7.229 MB / 0.8129 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/1.724, allocations: 12.4 MB / 0.825 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/1.724, allocations: 31.31 kB / 0.8251 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02078/1.745, allocations: 12.4 MB / 0.8372 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.187e-05/1.745, allocations: 48 kB / 0.8372 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001589/1.745, allocations: 101.3 kB / 0.8373 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008931/1.746, allocations: 425.9 kB / 0.8377 GB, free: 137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006915/1.753, allocations: 2.096 MB / 0.8398 GB, free: 135.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/1.758, allocations: 9.596 MB / 0.8491 GB, free: 125.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006695/1.765, allocations: 1.406 MB / 0.8505 GB, free: 124.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.766, allocations: 395.8 kB / 0.8509 GB, free: 123.7 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.006658/1.773, allocations: 4.662 MB / 0.8554 GB, free: 119.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.774, allocations: 0.7137 MB / 0.8561 GB, free: 118.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.787, allocations: 11.05 MB / 0.8669 GB, free: 107.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/1.787, allocations: 68 kB / 0.867 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.788, allocations: 4 kB / 0.867 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.597e-05/1.788, allocations: 31.88 kB / 0.867 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.477/2.265, allocations: 159 MB / 1.022 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001589/2.265, allocations: 85.66 kB / 1.022 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005414/2.27, allocations: 1.577 MB / 1.024 GB, free: 173.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008229/2.271, allocations: 379.7 kB / 1.024 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008553/2.272, allocations: 253.4 kB / 1.025 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005104/2.277, allocations: 9.465 MB / 1.034 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.569e-05/2.277, allocations: 138.8 kB / 1.034 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.023/2.3, allocations: 18.85 MB / 1.052 GB, free: 153.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006056/2.306, allocations: 2.041 MB / 1.054 GB, free: 152.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002742/2.309, allocations: 245.6 kB / 1.055 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008144/2.317, allocations: 0.5617 MB / 1.055 GB, free: 152.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00248/2.32, allocations: 0.7426 MB / 1.056 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000873/2.321, allocations: 312 kB / 1.056 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01115/2.332, allocations: 6.124 MB / 1.062 GB, free: 148.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.91e-07/2.332, allocations: 1.641 kB / 1.062 GB, free: 148.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0123/2.344, allocations: 2.684 MB / 1.065 GB, free: 145.7 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.02316/2.367, allocations: 19.75 MB / 1.084 GB, free: 125.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01472/2.382, allocations: 10.84 MB / 1.095 GB, free: 114.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.802e-05/2.382, allocations: 12 kB / 1.095 GB, free: 114.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007709/2.39, allocations: 5.514 MB / 1.1 GB, free: 109.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01073/2.401, allocations: 1.507 MB / 1.101 GB, free: 107.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1488/2.55, allocations: 101.3 MB / 1.2 GB, free: 15.75 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01264/2.562, allocations: 7.883 MB / 1.208 GB, free: 7.824 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01051/2.573, allocations: 3.642 MB / 1.212 GB, free: 4.176 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009181/2.582, allocations: 4.244 MB / 1.216 GB, free: 15.93 MB / 0.6388 GB Notification: Performance of SimCode: time 1.052e-06/2.582, allocations: 0 / 1.216 GB, free: 15.93 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5462/3.128, allocations: 193.4 MB / 1.405 GB, free: 77.4 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.67/30.8, allocations: 12.72 kB / 1.405 GB, free: 77.39 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