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.002453/0.002453, allocations: 87.67 kB / 20.21 MB, free: 4.211 MB / 18.57 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.002412/0.002412, allocations: 165.6 kB / 23.53 MB, free: 0.8984 MB / 18.57 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.622/1.622, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 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.2321/0.2321, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 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: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.079e-05/4.319e-05, allocations: 6.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02308/0.02312, allocations: 19.01 MB / 365.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.03959, allocations: 4.962 MB / 370.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005658/0.04524, allocations: 163.1 kB / 371.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02312/0.06836, allocations: 8.296 MB / 379.4 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.07918, allocations: 2.214 MB / 381.6 MB, free: 7.012 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005925/0.0851, allocations: 1.409 MB / 383 MB, free: 5.602 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02445/0.1095, allocations: 12.81 MB / 395.8 MB, free: 8.738 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04534/0.1549, allocations: 16.85 MB / 412.6 MB, free: 7.688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03064/0.1855, allocations: 9.934 MB / 422.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01667/0.2022, allocations: 7.314 MB / 429.9 MB, free: 6.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006956/0.2092, allocations: 1.734 MB / 431.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.2193, allocations: 1.929 MB / 433.6 MB, free: 2.746 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2392/0.4585, allocations: 3.872 MB / 437.4 MB, free: 44.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01588/0.4744, allocations: 4.835 MB / 442.3 MB, free: 44.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03556/0.51, allocations: 24.1 MB / 466.4 MB, free: 38.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.948e-06/0.51, allocations: 0 / 466.4 MB, free: 38.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.51, allocations: 0 / 466.4 MB, free: 38.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.001089/0.5111, allocations: 0 / 466.4 MB, free: 38.18 MB / 362.7 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.06189/0.573, allocations: 17.04 MB / 483.4 MB, free: 27.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.161e-05/0.573, allocations: 14.23 kB / 483.4 MB, free: 27.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07378/0.6468, allocations: 14.83 MB / 498.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02078/0.6676, allocations: 5.989 MB / 0.4924 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009266/0.6685, allocations: 0.9104 MB / 0.4933 GB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007136/0.6757, allocations: 1.194 MB / 0.4945 GB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06222/0.7379, allocations: 17.62 MB / 0.5117 GB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008118/0.7387, allocations: 15.89 kB / 0.5117 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005506/0.7442, allocations: 0.4947 MB / 0.5122 GB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/0.7453, allocations: 0.6895 MB / 0.5129 GB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05754/0.8028, allocations: 17.62 MB / 0.5301 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4754/1.278, allocations: 78.23 MB / 0.6065 GB, free: 91.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02405/1.302, allocations: 10.61 MB / 0.6168 GB, free: 90.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007547/1.31, allocations: 3.745 MB / 0.6205 GB, free: 90.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008784/1.311, allocations: 179.9 kB / 0.6207 GB, free: 90.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/1.311, allocations: 110.5 kB / 0.6208 GB, free: 90.76 MB / 458.7 MB Notification: Performance of pre-optimization done (n=674): time 1.109e-05/1.311, allocations: 2.625 kB / 0.6208 GB, free: 90.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=674): time 0.0281/1.339, allocations: 10.26 MB / 0.6308 GB, free: 90.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/1.339, allocations: 121.9 kB / 0.6309 GB, free: 90.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01357/1.353, allocations: 5.491 MB / 0.6363 GB, free: 90.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002025/1.355, allocations: 135.1 kB / 0.6364 GB, free: 90.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00615/1.361, allocations: 5.32 MB / 0.6416 GB, free: 87.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004052/1.365, allocations: 2.554 MB / 0.6441 GB, free: 85.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005791/1.371, allocations: 1.9 MB / 0.6459 GB, free: 85.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/1.371, allocations: 476.8 kB / 0.6464 GB, free: 85.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00744/1.378, allocations: 3.495 MB / 0.6498 GB, free: 85.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01128/1.389, allocations: 8.262 MB / 0.6579 GB, free: 78.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01932/1.409, allocations: 12.71 MB / 0.6703 GB, free: 68.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002522/1.409, allocations: 26.38 kB / 0.6703 GB, free: 68.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.0332/1.442, allocations: 11.21 MB / 0.6813 GB, free: 62.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/1.442, allocations: 51.94 kB / 0.6813 GB, free: 62.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003824/1.443, allocations: 100 kB / 0.6814 GB, free: 62.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/1.445, allocations: 0.5364 MB / 0.6819 GB, free: 61.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/1.455, allocations: 2.096 MB / 0.684 GB, free: 60.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007923/1.463, allocations: 11.93 MB / 0.6956 GB, free: 47.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/1.473, allocations: 1.076 MB / 0.6967 GB, free: 46.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002979/1.476, allocations: 403.9 kB / 0.6971 GB, free: 45.98 MB / 458.7 MB 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.01446/1.491, allocations: 4.264 MB / 0.7012 GB, free: 41.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002581/1.493, allocations: 0.6922 MB / 0.7019 GB, free: 41.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02372/1.517, allocations: 10.31 MB / 0.712 GB, free: 30.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-05/1.517, allocations: 70.62 kB / 0.712 GB, free: 30.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/1.517, allocations: 4 kB / 0.712 GB, free: 30.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001518/1.517, allocations: 43.78 kB / 0.7121 GB, free: 30.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5112/2.029, allocations: 137.2 MB / 0.8461 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005443/2.029, allocations: 88 kB / 0.8461 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006845/2.036, allocations: 1.568 MB / 0.8477 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/2.038, allocations: 0.4956 MB / 0.8482 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001768/2.039, allocations: 254 kB / 0.8484 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006546/2.046, allocations: 11.79 MB / 0.8599 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.159e-05/2.046, allocations: 147 kB / 0.8601 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02955/2.076, allocations: 17.56 MB / 0.8772 GB, free: 80.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007072/2.083, allocations: 1.39 MB / 0.8786 GB, free: 79.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003432/2.086, allocations: 251.9 kB / 0.8788 GB, free: 79.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007462/2.094, allocations: 0.558 MB / 0.8793 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002712/2.096, allocations: 0.769 MB / 0.8801 GB, free: 78.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001935/2.098, allocations: 316 kB / 0.8804 GB, free: 77.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007513/2.106, allocations: 2.869 MB / 0.8832 GB, free: 74.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.41e-07/2.106, allocations: 4 kB / 0.8832 GB, free: 74.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01649/2.122, allocations: 3.001 MB / 0.8861 GB, free: 71.95 MB / 490.7 MB 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.00301/2.125, allocations: 0.4927 MB / 0.8866 GB, free: 71.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02318/2.148, allocations: 10.33 MB / 0.8967 GB, free: 60.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001947/2.149, allocations: 19.17 kB / 0.8967 GB, free: 60.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009638/2.158, allocations: 5.362 MB / 0.902 GB, free: 55.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01398/2.172, allocations: 1.318 MB / 0.9032 GB, free: 54.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05054/2.223, allocations: 24.19 MB / 0.9269 GB, free: 28.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0163/2.239, allocations: 6.731 MB / 0.9334 GB, free: 21.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009746/2.249, allocations: 2.72 MB / 0.9361 GB, free: 18.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003165/2.252, allocations: 0.4887 MB / 0.9366 GB, free: 18.29 MB / 490.7 MB Notification: Performance of SimCode: time 4.599e-06/2.252, allocations: 0 / 0.9366 GB, free: 18.29 MB / 490.7 MB Notification: Performance of Templates: time 0.4237/2.676, allocations: 75.79 MB / 1.011 GB, free: 108.5 MB / 490.7 MB " [Timeout remaining time 657] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.80674547702074]