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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 209.5 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2278/0.2278, allocations: 44.25 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 71.89 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1241, allocations: 61.03 MB / 0.5162 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02083/0.145, allocations: 17.09 MB / 0.5328 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.1566, allocations: 4.842 MB / 0.5376 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003766/0.1604, allocations: 163.1 kB / 0.5377 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2662/0.4266, allocations: 7.254 MB / 0.5448 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008316/0.4349, allocations: 2.176 MB / 0.5469 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004558/0.4395, allocations: 1.387 MB / 0.5483 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01709/0.4566, allocations: 12.42 MB / 0.5604 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04358/0.5001, allocations: 16.79 MB / 0.5768 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01399/0.5141, allocations: 6.754 MB / 0.5834 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01593/0.5301, allocations: 7.347 MB / 0.5906 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007063/0.5371, allocations: 1.736 MB / 0.5923 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01044/0.5476, allocations: 1.914 MB / 0.5941 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007552/0.5551, allocations: 3.74 MB / 0.5978 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01549/0.5706, allocations: 5.573 MB / 0.6032 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03256/0.6032, allocations: 23.85 MB / 0.6265 GB, free: 1.387 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.6032, allocations: 0 / 0.6265 GB, free: 1.387 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6032, allocations: 0 / 0.6265 GB, free: 1.387 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009676/0.6042, allocations: 0 / 0.6265 GB, free: 1.387 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.05456/0.6587, allocations: 14.99 MB / 0.6412 GB, free: 2.418 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.6588, allocations: 12.03 kB / 0.6412 GB, free: 2.406 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006802/0.6656, allocations: 1.751 MB / 0.6429 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0694/0.735, allocations: 12.49 MB / 0.6551 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01985/0.7548, allocations: 6.768 MB / 0.6617 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001154/0.756, allocations: 0.9039 MB / 0.6626 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005485/0.7615, allocations: 1.187 MB / 0.6637 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07284/0.8343, allocations: 19.58 MB / 0.6829 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006816/0.835, allocations: 15.91 kB / 0.6829 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00763/0.8426, allocations: 0.4953 MB / 0.6834 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001456/0.8441, allocations: 0.6934 MB / 0.684 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05582/0.8999, allocations: 19.73 MB / 0.7033 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1345/1.034, allocations: 56.08 MB / 0.7581 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4388/1.473, allocations: 11.45 MB / 0.7693 GB, free: 170.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008784/1.482, allocations: 4.299 MB / 0.7734 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/1.482, allocations: 135.5 kB / 0.7736 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/1.483, allocations: 110.1 kB / 0.7737 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 1.049e-05/1.483, allocations: 2.312 kB / 0.7737 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.0218/1.504, allocations: 12.13 MB / 0.7855 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/1.504, allocations: 120.2 kB / 0.7856 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0155/1.52, allocations: 8.856 MB / 0.7943 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.521, allocations: 136.9 kB / 0.7944 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003261/1.524, allocations: 4.729 MB / 0.799 GB, free: 162 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002409/1.527, allocations: 2.377 MB / 0.8014 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002624/1.529, allocations: 1.518 MB / 0.8028 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.529, allocations: 301.1 kB / 0.8031 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006479/1.536, allocations: 4.198 MB / 0.8072 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007813/1.544, allocations: 7.225 MB / 0.8143 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/1.558, allocations: 12.4 MB / 0.8264 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000171/1.558, allocations: 27.25 kB / 0.8264 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02081/1.579, allocations: 12.44 MB / 0.8386 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/1.579, allocations: 48.22 kB / 0.8386 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/1.579, allocations: 100 kB / 0.8387 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008674/1.58, allocations: 423.3 kB / 0.8391 GB, free: 140 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007149/1.587, allocations: 2.101 MB / 0.8412 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005018/1.592, allocations: 8.952 MB / 0.8499 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007476/1.6, allocations: 1.442 MB / 0.8513 GB, free: 128 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/1.601, allocations: 398.7 kB / 0.8517 GB, free: 127.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.007651/1.609, allocations: 4.658 MB / 0.8562 GB, free: 123.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/1.61, allocations: 0.749 MB / 0.857 GB, free: 122.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.625, allocations: 11.05 MB / 0.8678 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-05/1.625, allocations: 68 kB / 0.8678 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.625, allocations: 0 / 0.8678 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-05/1.625, allocations: 36.41 kB / 0.8679 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4553/2.08, allocations: 153.5 MB / 1.018 GB, free: 184.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005679/2.08, allocations: 91.59 kB / 1.018 GB, free: 184.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009243/2.09, allocations: 1.571 MB / 1.019 GB, free: 184 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/2.091, allocations: 391.5 kB / 1.02 GB, free: 183.9 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001801/2.093, allocations: 251.6 kB / 1.02 GB, free: 183.9 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007779/2.101, allocations: 8.82 MB / 1.029 GB, free: 176.6 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001773/2.101, allocations: 135.4 kB / 1.029 GB, free: 176.6 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04053/2.141, allocations: 18.89 MB / 1.047 GB, free: 166.1 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007923/2.149, allocations: 2.082 MB / 1.049 GB, free: 165.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003176/2.152, allocations: 255.4 kB / 1.049 GB, free: 165.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007169/2.16, allocations: 0.5576 MB / 1.05 GB, free: 165.2 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002338/2.162, allocations: 0.7694 MB / 1.051 GB, free: 165 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001479/2.163, allocations: 312.4 kB / 1.051 GB, free: 164.9 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01203/2.175, allocations: 6.124 MB / 1.057 GB, free: 162.8 MB / 0.6232 GB Notification: Performance of sort global known variables: time 3.8e-07/2.175, allocations: 1.859 kB / 1.057 GB, free: 162.8 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01145/2.187, allocations: 2.694 MB / 1.06 GB, free: 162.4 MB / 0.6232 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.02932/2.216, allocations: 19.79 MB / 1.079 GB, free: 150.2 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01664/2.233, allocations: 10.53 MB / 1.089 GB, free: 144.4 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 0.0001319/2.233, allocations: 12 kB / 1.089 GB, free: 144.4 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.008379/2.241, allocations: 5.334 MB / 1.094 GB, free: 139.8 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01543/2.257, allocations: 1.497 MB / 1.096 GB, free: 138.5 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1858/2.443, allocations: 101.7 MB / 1.195 GB, free: 32.58 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01628/2.459, allocations: 7.467 MB / 1.203 GB, free: 25.06 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01365/2.473, allocations: 3.645 MB / 1.206 GB, free: 21.42 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007175/2.48, allocations: 4.241 MB / 1.21 GB, free: 17.18 MB / 0.6232 GB Notification: Performance of SimCode: time 1.363e-06/2.48, allocations: 0 / 1.21 GB, free: 17.18 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5658/3.046, allocations: 196.9 MB / 1.403 GB, free: 118.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.62/28.67, allocations: 7.969 kB / 1.403 GB, free: 118.4 MB / 0.6544 GB " [Timeout remaining time 631] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 35.56208689836785]