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.001497/0.001497, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.001513/0.001513, allocations: 215.3 kB / 23 MB, free: 5.004 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.585/1.585, allocations: 207.6 MB / 233.8 MB, free: 10 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.2286/0.2286, allocations: 44.23 MB / 330.3 MB, free: 9.531 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.003817/0.003817, allocations: 83.83 kB / 467.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1354, allocations: 61.03 MB / 0.5161 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.0242/0.1596, allocations: 20.02 MB / 0.5357 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2491/0.4087, allocations: 4.951 MB / 0.5405 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/0.412, allocations: 163.1 kB / 0.5407 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01588/0.4279, allocations: 7.886 MB / 0.5484 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008337/0.4362, allocations: 2.184 MB / 0.5505 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004247/0.4405, allocations: 1.446 MB / 0.5519 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01557/0.456, allocations: 12.42 MB / 0.5641 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03421/0.4902, allocations: 17.25 MB / 0.5809 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01268/0.5029, allocations: 6.746 MB / 0.5875 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01469/0.5176, allocations: 7.41 MB / 0.5947 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006011/0.5236, allocations: 1.738 MB / 0.5964 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008341/0.532, allocations: 1.928 MB / 0.5983 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007027/0.539, allocations: 3.733 MB / 0.602 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01525/0.5542, allocations: 7.104 MB / 0.6089 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03232/0.5866, allocations: 23.75 MB / 0.6321 GB, free: 12.69 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.5866, allocations: 3.938 kB / 0.6321 GB, free: 12.69 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5866, allocations: 0 / 0.6321 GB, free: 12.69 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006458/0.5872, allocations: 0 / 0.6321 GB, free: 12.69 MB / 478.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.04213/0.6294, allocations: 14.99 MB / 0.6467 GB, free: 13.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.6294, allocations: 8.031 kB / 0.6467 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007268/0.6367, allocations: 1.757 MB / 0.6484 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06664/0.7033, allocations: 12.49 MB / 0.6606 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/0.7213, allocations: 6.759 MB / 0.6672 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001223/0.7226, allocations: 0.9007 MB / 0.6681 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005049/0.7276, allocations: 1.189 MB / 0.6693 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04576/0.7734, allocations: 19.05 MB / 0.6879 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003718/0.7737, allocations: 22.67 kB / 0.6879 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002742/0.7765, allocations: 0.4946 MB / 0.6884 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007231/0.7772, allocations: 0.6895 MB / 0.6891 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04385/0.8211, allocations: 19.83 MB / 0.7084 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1211/0.9422, allocations: 60.67 MB / 0.7677 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.435/1.377, allocations: 11.52 MB / 0.7789 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008117/1.385, allocations: 4.308 MB / 0.7831 GB, free: 167.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006175/1.386, allocations: 164.7 kB / 0.7833 GB, free: 167.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.57e-05/1.386, allocations: 108 kB / 0.7834 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 8.296e-06/1.386, allocations: 0.9375 kB / 0.7834 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02311/1.409, allocations: 12.13 MB / 0.7952 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/1.409, allocations: 120 kB / 0.7953 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01239/1.422, allocations: 8.729 MB / 0.8039 GB, free: 161 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009596/1.423, allocations: 133.2 kB / 0.804 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002597/1.425, allocations: 4.736 MB / 0.8086 GB, free: 158 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001865/1.427, allocations: 2.368 MB / 0.8109 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001851/1.429, allocations: 1.521 MB / 0.8124 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.944e-05/1.429, allocations: 301.1 kB / 0.8127 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005374/1.434, allocations: 4.196 MB / 0.8168 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006958/1.441, allocations: 7.235 MB / 0.8239 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01359/1.455, allocations: 12.39 MB / 0.836 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/1.455, allocations: 31.38 kB / 0.836 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02104/1.476, allocations: 12.44 MB / 0.8482 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.069e-05/1.476, allocations: 48 kB / 0.8482 GB, free: 134 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/1.476, allocations: 96 kB / 0.8483 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008422/1.477, allocations: 425 kB / 0.8487 GB, free: 133.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006712/1.484, allocations: 2.098 MB / 0.8507 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005051/1.489, allocations: 8.991 MB / 0.8595 GB, free: 121.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007186/1.496, allocations: 1.439 MB / 0.8609 GB, free: 120.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/1.497, allocations: 400 kB / 0.8613 GB, free: 120.1 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.007393/1.505, allocations: 4.66 MB / 0.8659 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.506, allocations: 0.749 MB / 0.8666 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/1.52, allocations: 11.04 MB / 0.8774 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-05/1.52, allocations: 71.98 kB / 0.8774 GB, free: 103.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.52, allocations: 4 kB / 0.8774 GB, free: 103.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.916e-05/1.52, allocations: 31.88 kB / 0.8775 GB, free: 103.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4045/1.924, allocations: 154.7 MB / 1.029 GB, free: 180.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001745/1.924, allocations: 90.81 kB / 1.029 GB, free: 180.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005738/1.93, allocations: 1.573 MB / 1.03 GB, free: 179.9 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008771/1.931, allocations: 385.7 kB / 1.031 GB, free: 179.8 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008125/1.932, allocations: 251.1 kB / 1.031 GB, free: 179.7 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005181/1.937, allocations: 8.847 MB / 1.039 GB, free: 171.8 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-05/1.937, allocations: 138.8 kB / 1.04 GB, free: 171.8 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02078/1.958, allocations: 18.89 MB / 1.058 GB, free: 160.6 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006245/1.964, allocations: 2.081 MB / 1.06 GB, free: 159.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002021/1.966, allocations: 256 kB / 1.06 GB, free: 159.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005317/1.971, allocations: 0.5642 MB / 1.061 GB, free: 159.7 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/1.973, allocations: 0.7615 MB / 1.062 GB, free: 159.4 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004972/1.973, allocations: 311.7 kB / 1.062 GB, free: 159.4 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.008277/1.981, allocations: 6.13 MB / 1.068 GB, free: 157.3 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.8e-07/1.981, allocations: 0 / 1.068 GB, free: 157.3 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.009234/1.991, allocations: 2.699 MB / 1.07 GB, free: 156.9 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.02027/2.011, allocations: 19.79 MB / 1.09 GB, free: 144.5 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01501/2.026, allocations: 10.52 MB / 1.1 GB, free: 137.6 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 7.599e-05/2.026, allocations: 12.5 kB / 1.1 GB, free: 137.5 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.008188/2.034, allocations: 5.339 MB / 1.105 GB, free: 132.9 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01174/2.046, allocations: 1.499 MB / 1.107 GB, free: 131.7 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1269/2.173, allocations: 101.8 MB / 1.206 GB, free: 24.06 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008778/2.182, allocations: 7.885 MB / 1.214 GB, free: 16.13 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.007998/2.19, allocations: 3.641 MB / 1.217 GB, free: 12.49 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005931/2.195, allocations: 4.237 MB / 1.222 GB, free: 8.254 MB / 0.6232 GB Notification: Performance of SimCode: time 1.112e-06/2.195, allocations: 8 kB / 1.222 GB, free: 8.246 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5209/2.716, allocations: 196.4 MB / 1.413 GB, free: 109.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.23/32.94, allocations: 10.08 kB / 1.413 GB, free: 109.6 MB / 0.6544 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/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: 39.85870113084093]