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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002354/0.002354, allocations: 118.8 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002389/0.002389, allocations: 196.7 kB / 20.07 MB, free: 3.012 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.616/1.616, allocations: 207.6 MB / 230.5 MB, free: 4.059 MB / 174.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.359/0.359, allocations: 44.22 MB / 326.5 MB, free: 6.863 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002919/0.002919, allocations: 67.89 kB / 462.2 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3881, allocations: 60.99 MB / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01905/0.4071, allocations: 19.98 MB / 0.5304 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.4189, allocations: 4.966 MB / 0.5353 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004844/0.4238, allocations: 135.5 kB / 0.5354 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0192/0.4429, allocations: 7.852 MB / 0.5431 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009257/0.4522, allocations: 2.305 MB / 0.5453 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.4566, allocations: 1.271 MB / 0.5466 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01781/0.4744, allocations: 12.37 MB / 0.5586 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03294/0.5073, allocations: 20.25 MB / 0.5784 GB, free: 9.516 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01089/0.5182, allocations: 6.616 MB / 0.5849 GB, free: 2.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01824/0.5364, allocations: 7.401 MB / 0.5921 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006543/0.543, allocations: 1.734 MB / 0.5938 GB, free: 9.723 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007848/0.5508, allocations: 1.93 MB / 0.5957 GB, free: 7.793 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007093/0.5579, allocations: 3.736 MB / 0.5993 GB, free: 4.047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01582/0.5737, allocations: 7.108 MB / 0.6063 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03829/0.612, allocations: 23.74 MB / 0.6294 GB, free: 5.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.526e-05/0.612, allocations: 4 kB / 0.6294 GB, free: 5.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.6121, allocations: 0 / 0.6294 GB, free: 5.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001216/0.6133, allocations: 0 / 0.6294 GB, free: 5.094 MB / 494.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.05386/0.6671, allocations: 15.06 MB / 0.6442 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.6672, allocations: 11.89 kB / 0.6442 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007234/0.6744, allocations: 1.755 MB / 0.6459 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6031/1.278, allocations: 12.48 MB / 0.6581 GB, free: 105.2 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01968/1.297, allocations: 6.629 MB / 0.6645 GB, free: 102 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007433/1.298, allocations: 0.9038 MB / 0.6654 GB, free: 101.6 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004891/1.303, allocations: 1.188 MB / 0.6666 GB, free: 101.2 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04667/1.35, allocations: 19.05 MB / 0.6852 GB, free: 85.64 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005213/1.35, allocations: 19.94 kB / 0.6852 GB, free: 85.62 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005426/1.355, allocations: 0.4949 MB / 0.6857 GB, free: 85.14 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006672/1.356, allocations: 0.6856 MB / 0.6864 GB, free: 84.45 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03942/1.396, allocations: 19.83 MB / 0.7057 GB, free: 64.6 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1056/1.501, allocations: 61.72 MB / 0.766 GB, free: 2.582 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02861/1.53, allocations: 19.65 MB / 0.7852 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00988/1.54, allocations: 4.303 MB / 0.7894 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/1.541, allocations: 238.2 kB / 0.7896 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/1.541, allocations: 107.8 kB / 0.7897 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=674): time 1.283e-05/1.541, allocations: 0 / 0.7897 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=674): time 0.02984/1.571, allocations: 12.58 MB / 0.802 GB, free: 12.27 MB / 0.5451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/1.571, allocations: 124.6 kB / 0.8021 GB, free: 12.14 MB / 0.5451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01951/1.59, allocations: 8.723 MB / 0.8106 GB, free: 3.477 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.001411/1.592, allocations: 137.7 kB / 0.8108 GB, free: 3.336 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.005934/1.598, allocations: 4.73 MB / 0.8154 GB, free: 14.57 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.004123/1.602, allocations: 2.378 MB / 0.8177 GB, free: 12.17 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005621/1.607, allocations: 1.511 MB / 0.8192 GB, free: 10.64 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.608, allocations: 301.1 kB / 0.8195 GB, free: 10.35 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008658/1.616, allocations: 4.196 MB / 0.8236 GB, free: 6.141 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0127/1.629, allocations: 7.23 MB / 0.8306 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02249/1.651, allocations: 12.4 MB / 0.8428 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001732/1.652, allocations: 28 kB / 0.8428 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.03383/1.685, allocations: 12.44 MB / 0.8549 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/1.686, allocations: 51.94 kB / 0.855 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002585/1.686, allocations: 96 kB / 0.8551 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/1.687, allocations: 425.2 kB / 0.8555 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009177/1.696, allocations: 2.094 MB / 0.8575 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/1.707, allocations: 9.604 MB / 0.8669 GB, free: 5.949 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009776/1.717, allocations: 1.431 MB / 0.8683 GB, free: 4.508 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002667/1.719, allocations: 392.1 kB / 0.8687 GB, free: 4.125 MB / 0.6076 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.01327/1.732, allocations: 4.664 MB / 0.8732 GB, free: 15.44 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003103/1.736, allocations: 0.7567 MB / 0.874 GB, free: 14.68 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02665/1.762, allocations: 11.05 MB / 0.8847 GB, free: 3.527 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.643e-05/1.762, allocations: 71.94 kB / 0.8848 GB, free: 3.457 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-05/1.762, allocations: 0 / 0.8848 GB, free: 3.457 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001732/1.763, allocations: 35.86 kB / 0.8848 GB, free: 3.422 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4363/2.199, allocations: 159.1 MB / 1.04 GB, free: 82.05 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003969/2.199, allocations: 88 kB / 1.04 GB, free: 81.96 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005886/2.205, allocations: 1.572 MB / 1.042 GB, free: 80.39 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009314/2.206, allocations: 389.1 kB / 1.042 GB, free: 79.99 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001263/2.207, allocations: 251.9 kB / 1.042 GB, free: 79.74 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004969/2.212, allocations: 9.47 MB / 1.052 GB, free: 69.5 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.346e-05/2.212, allocations: 141.2 kB / 1.052 GB, free: 69.36 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01992/2.232, allocations: 18.89 MB / 1.07 GB, free: 48.78 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006846/2.239, allocations: 2.084 MB / 1.072 GB, free: 46.78 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002255/2.241, allocations: 251.9 kB / 1.073 GB, free: 46.53 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00631/2.248, allocations: 0.562 MB / 1.073 GB, free: 45.97 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001201/2.249, allocations: 0.7497 MB / 1.074 GB, free: 45.21 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005377/2.249, allocations: 312 kB / 1.074 GB, free: 44.91 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01165/2.261, allocations: 6.113 MB / 1.08 GB, free: 38.82 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.8e-07/2.261, allocations: 0 / 1.08 GB, free: 38.82 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01407/2.275, allocations: 2.697 MB / 1.083 GB, free: 36.31 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.02742/2.303, allocations: 19.8 MB / 1.102 GB, free: 14.43 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01996/2.322, allocations: 10.52 MB / 1.112 GB, free: 3.816 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 0.0001043/2.323, allocations: 12.31 kB / 1.112 GB, free: 3.805 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.01121/2.334, allocations: 5.341 MB / 1.118 GB, free: 14.4 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01958/2.353, allocations: 1.505 MB / 1.119 GB, free: 12.91 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5024/2.856, allocations: 101.6 MB / 1.218 GB, free: 152.8 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01613/2.872, allocations: 7.884 MB / 1.226 GB, free: 144.9 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.01178/2.884, allocations: 3.649 MB / 1.23 GB, free: 141.2 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009034/2.893, allocations: 4.239 MB / 1.234 GB, free: 137 MB / 0.6388 GB Notification: Performance of SimCode: time 1.322e-06/2.893, allocations: 0 / 1.234 GB, free: 137 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5959/3.489, allocations: 193.5 MB / 1.423 GB, free: 185.1 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.61/33.1, allocations: 14.98 kB / 1.423 GB, free: 185.1 MB / 0.6388 GB " [Timeout remaining time 627] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 40.45393739687279]