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.0007847/0.0007847, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007685/0.0007685, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.8175/0.8175, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1327/0.1327, allocations: 32.37 MB / 270.3 MB, free: 14.98 MB / 266.7 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.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 1.813e-06/1.813e-06, allocations: 0 / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.917e-05, allocations: 9.594 kB / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01307/0.0131, allocations: 17.1 MB / 425.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.02369, allocations: 4.845 MB / 430 MB, free: 6.984 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00444/0.02813, allocations: 163.1 kB / 430.2 MB, free: 6.824 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.189/0.2171, allocations: 7.689 MB / 437.9 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007216/0.2244, allocations: 2.22 MB / 440.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.2279, allocations: 1.391 MB / 441.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01356/0.2414, allocations: 12.81 MB / 454.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02253/0.264, allocations: 16.83 MB / 471.2 MB, free: 2.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.019/0.283, allocations: 9.86 MB / 481 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/0.2945, allocations: 6.638 MB / 487.7 MB, free: 4.758 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005228/0.2998, allocations: 1.734 MB / 489.4 MB, free: 3.023 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006486/0.3062, allocations: 1.926 MB / 491.3 MB, free: 1.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005529/0.3118, allocations: 3.816 MB / 495.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01188/0.3237, allocations: 4.777 MB / 499.9 MB, free: 9.059 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02612/0.3498, allocations: 23.96 MB / 0.5116 GB, free: 1.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3498, allocations: 1.688 kB / 0.5116 GB, free: 1.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3498, allocations: 0 / 0.5116 GB, free: 1.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007593/0.3505, allocations: 0 / 0.5116 GB, free: 1.75 MB / 410.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.03506/0.3856, allocations: 14.87 MB / 0.5261 GB, free: 2.902 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.3856, allocations: 19.67 kB / 0.5261 GB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03414/0.4198, allocations: 12.48 MB / 0.5383 GB, free: 6.531 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0148/0.4346, allocations: 6.752 MB / 0.5449 GB, free: 40 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009914/0.4356, allocations: 0.9059 MB / 0.5458 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005286/0.4409, allocations: 1.193 MB / 0.547 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04588/0.4867, allocations: 19.58 MB / 0.5661 GB, free: 10.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004584/0.4872, allocations: 19.89 kB / 0.5661 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00429/0.4915, allocations: 0.499 MB / 0.5666 GB, free: 9.742 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005507/0.492, allocations: 0.6856 MB / 0.5673 GB, free: 9.055 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03752/0.5296, allocations: 19.73 MB / 0.5865 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4205/0.95, allocations: 52.8 MB / 0.6381 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/0.964, allocations: 11.45 MB / 0.6493 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004825/0.9688, allocations: 4.301 MB / 0.6535 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/0.9691, allocations: 140.4 kB / 0.6536 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.503e-05/0.9692, allocations: 111.1 kB / 0.6537 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=674): time 8.736e-06/0.9692, allocations: 3.781 kB / 0.6537 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=674): time 0.01255/0.9818, allocations: 11.87 MB / 0.6653 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.9818, allocations: 121.6 kB / 0.6654 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004046/0.9859, allocations: 3.955 MB / 0.6693 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008833/0.9867, allocations: 132.5 kB / 0.6694 GB, free: 128 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/0.9886, allocations: 4.799 MB / 0.6741 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001782/0.9904, allocations: 2.346 MB / 0.6764 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001412/0.9918, allocations: 1.505 MB / 0.6779 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.814e-05/0.9918, allocations: 301.1 kB / 0.6781 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004034/0.9958, allocations: 4.195 MB / 0.6822 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004973/1.001, allocations: 7.226 MB / 0.6893 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009591/1.01, allocations: 12.41 MB / 0.7014 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.902e-05/1.011, allocations: 28 kB / 0.7014 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01288/1.023, allocations: 12.18 MB / 0.7133 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/1.023, allocations: 44 kB / 0.7134 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.024, allocations: 100 kB / 0.7135 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/1.024, allocations: 425 kB / 0.7139 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004125/1.028, allocations: 2.094 MB / 0.7159 GB, free: 88.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/1.032, allocations: 8.827 MB / 0.7245 GB, free: 78.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/1.036, allocations: 1.08 MB / 0.7256 GB, free: 77.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008746/1.037, allocations: 399.3 kB / 0.726 GB, free: 77.4 MB / 0.5105 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.006792/1.044, allocations: 4.66 MB / 0.7305 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009183/1.044, allocations: 0.4891 MB / 0.731 GB, free: 72.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009769/1.054, allocations: 10.77 MB / 0.7415 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/1.054, allocations: 72 kB / 0.7416 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.054, allocations: 0 / 0.7416 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.28e-05/1.054, allocations: 35.86 kB / 0.7416 GB, free: 61.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3417/1.396, allocations: 152.2 MB / 0.8902 GB, free: 147.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.048e-05/1.396, allocations: 84 kB / 0.8903 GB, free: 147.2 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/1.399, allocations: 1.575 MB / 0.8918 GB, free: 145.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005979/1.4, allocations: 384.7 kB / 0.8922 GB, free: 145.2 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003209/1.4, allocations: 248 kB / 0.8924 GB, free: 145 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003246/1.403, allocations: 8.697 MB / 0.9009 GB, free: 135.8 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.634e-05/1.403, allocations: 139.4 kB / 0.9011 GB, free: 135.7 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/1.415, allocations: 18.44 MB / 0.9191 GB, free: 115.4 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002363/1.418, allocations: 1.568 MB / 0.9206 GB, free: 114.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004133/1.418, allocations: 253.8 kB / 0.9208 GB, free: 113.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.42, allocations: 0.5561 MB / 0.9214 GB, free: 113.3 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005879/1.421, allocations: 0.7706 MB / 0.9221 GB, free: 112.6 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002916/1.421, allocations: 316 kB / 0.9224 GB, free: 112.2 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.002428/1.423, allocations: 2.607 MB / 0.925 GB, free: 109.6 MB / 0.5418 GB Notification: Performance of sort global known variables: time 6e-08/1.423, allocations: 4 kB / 0.925 GB, free: 109.6 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.006421/1.43, allocations: 3.007 MB / 0.9279 GB, free: 107 MB / 0.5418 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.0005687/1.43, allocations: 0.49 MB / 0.9284 GB, free: 106.5 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.442, allocations: 10.52 MB / 0.9387 GB, free: 95.91 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 7.381e-05/1.442, allocations: 12 kB / 0.9387 GB, free: 95.9 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.006569/1.449, allocations: 5.323 MB / 0.9439 GB, free: 90.52 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007277/1.456, allocations: 1.283 MB / 0.9451 GB, free: 89.27 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03243/1.488, allocations: 24.34 MB / 0.9689 GB, free: 63.7 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00626/1.495, allocations: 7.275 MB / 0.976 GB, free: 56.38 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002376/1.497, allocations: 0.5377 MB / 0.9765 GB, free: 55.84 MB / 0.5418 GB Notification: Performance of SimCode: time 2.384e-06/1.497, allocations: 0 / 0.9765 GB, free: 55.84 MB / 0.5418 GB Notification: Performance of Templates: time 0.9409/2.438, allocations: 0.5326 GB / 1.509 GB, free: 181.4 MB / 0.573 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 480] 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: 15.416008078493178]