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.001635/0.001635, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.001726/0.001726, allocations: 161.7 kB / 23.52 MB, free: 0.9219 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.446/1.446, allocations: 158.6 MB / 185.3 MB, free: 2.918 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.2721/0.2721, allocations: 32.37 MB / 270 MB, free: 14.87 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.555e-06/2.555e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/3.03e-05, allocations: 2.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.0191/0.01913, allocations: 17.1 MB / 364 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.03397, allocations: 4.908 MB / 368.9 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005882/0.03985, allocations: 167.1 kB / 369.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02186/0.06171, allocations: 7.695 MB / 376.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.07419, allocations: 2.198 MB / 379 MB, free: 9.598 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006171/0.08036, allocations: 1.406 MB / 380.4 MB, free: 8.195 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02137/0.1017, allocations: 12.82 MB / 393.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03883/0.1406, allocations: 16.82 MB / 410 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0252/0.1658, allocations: 9.863 MB / 419.9 MB, free: 432 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01699/0.1828, allocations: 6.635 MB / 426.5 MB, free: 9.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007453/0.1902, allocations: 1.734 MB / 428.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/0.2005, allocations: 1.929 MB / 430.2 MB, free: 6.105 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01188/0.2124, allocations: 3.806 MB / 434 MB, free: 2.289 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2439/0.4563, allocations: 4.782 MB / 438.8 MB, free: 44.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03584/0.4922, allocations: 23.97 MB / 462.8 MB, free: 39.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4922, allocations: 0 / 462.8 MB, free: 39.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4922, allocations: 0 / 462.8 MB, free: 39.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.001012/0.4932, allocations: 0 / 462.8 MB, free: 39.61 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.06178/0.555, allocations: 14.87 MB / 477.6 MB, free: 30.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.555, allocations: 11.53 kB / 477.6 MB, free: 30.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07084/0.6259, allocations: 14.8 MB / 492.4 MB, free: 18.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01987/0.6457, allocations: 6.922 MB / 499.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001255/0.647, allocations: 0.9049 MB / 0.4885 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008692/0.6557, allocations: 1.199 MB / 0.4897 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06414/0.7198, allocations: 19.58 MB / 0.5088 GB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001003/0.7208, allocations: 19.89 kB / 0.5088 GB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008385/0.7292, allocations: 0.4964 MB / 0.5093 GB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001356/0.7306, allocations: 0.6931 MB / 0.51 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06617/0.7967, allocations: 19.73 MB / 0.5293 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1573/0.9541, allocations: 54.27 MB / 0.5823 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02527/0.9793, allocations: 11.46 MB / 0.5935 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2588/1.238, allocations: 4.297 MB / 0.5977 GB, free: 149.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/1.239, allocations: 185.5 kB / 0.5978 GB, free: 149.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/1.239, allocations: 113.9 kB / 0.5979 GB, free: 149.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=674): time 1.167e-05/1.239, allocations: 0 / 0.5979 GB, free: 149.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=674): time 0.02296/1.262, allocations: 12.07 MB / 0.6097 GB, free: 148.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/1.262, allocations: 119.4 kB / 0.6098 GB, free: 148.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007149/1.269, allocations: 3.958 MB / 0.6137 GB, free: 147.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001498/1.27, allocations: 133.1 kB / 0.6138 GB, free: 147.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002668/1.273, allocations: 4.8 MB / 0.6185 GB, free: 144 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003502/1.277, allocations: 2.344 MB / 0.6208 GB, free: 142.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002566/1.279, allocations: 1.503 MB / 0.6223 GB, free: 141.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.708e-05/1.279, allocations: 308.8 kB / 0.6226 GB, free: 141.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006054/1.285, allocations: 4.194 MB / 0.6267 GB, free: 139.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007934/1.293, allocations: 7.232 MB / 0.6337 GB, free: 133 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01687/1.31, allocations: 12.4 MB / 0.6458 GB, free: 120.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/1.31, allocations: 28 kB / 0.6459 GB, free: 120.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02895/1.339, allocations: 12.55 MB / 0.6581 GB, free: 109.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002246/1.339, allocations: 44 kB / 0.6582 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002717/1.34, allocations: 100 kB / 0.6583 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/1.342, allocations: 0.5392 MB / 0.6588 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008632/1.35, allocations: 2.099 MB / 0.6608 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00632/1.357, allocations: 8.838 MB / 0.6695 GB, free: 97.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009181/1.366, allocations: 1.08 MB / 0.6705 GB, free: 96.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003035/1.369, allocations: 396 kB / 0.6709 GB, free: 96.27 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.01419/1.383, allocations: 4.667 MB / 0.6755 GB, free: 91.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003492/1.386, allocations: 0.6922 MB / 0.6761 GB, free: 90.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02302/1.41, allocations: 10.77 MB / 0.6867 GB, free: 80.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.236e-05/1.41, allocations: 68 kB / 0.6867 GB, free: 79.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-05/1.41, allocations: 3.312 kB / 0.6867 GB, free: 79.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001559/1.41, allocations: 39.86 kB / 0.6868 GB, free: 79.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4155/1.825, allocations: 152.2 MB / 0.8354 GB, free: 94.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005852/1.826, allocations: 88 kB / 0.8355 GB, free: 94.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006907/1.833, allocations: 1.571 MB / 0.837 GB, free: 92.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/1.834, allocations: 0.504 MB / 0.8375 GB, free: 92.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001669/1.836, allocations: 252 kB / 0.8377 GB, free: 91.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005684/1.842, allocations: 8.702 MB / 0.8462 GB, free: 82.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-05/1.842, allocations: 145.3 kB / 0.8464 GB, free: 82.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02641/1.868, allocations: 18.65 MB / 0.8646 GB, free: 61.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004837/1.873, allocations: 1.566 MB / 0.8661 GB, free: 60.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00234/1.875, allocations: 247.9 kB / 0.8664 GB, free: 60.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006521/1.882, allocations: 0.5658 MB / 0.8669 GB, free: 59.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002166/1.884, allocations: 0.7728 MB / 0.8677 GB, free: 59.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001915/1.886, allocations: 312 kB / 0.868 GB, free: 58.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006922/1.893, allocations: 2.607 MB / 0.8705 GB, free: 56.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.893, allocations: 0 / 0.8705 GB, free: 56.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01477/1.908, allocations: 3.009 MB / 0.8735 GB, free: 53.45 MB / 458.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.003344/1.911, allocations: 0.4923 MB / 0.8739 GB, free: 52.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01989/1.931, allocations: 10.52 MB / 0.8842 GB, free: 42.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001474/1.931, allocations: 12 kB / 0.8842 GB, free: 42.33 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008886/1.94, allocations: 5.329 MB / 0.8894 GB, free: 36.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01292/1.953, allocations: 1.325 MB / 0.8907 GB, free: 35.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05011/2.003, allocations: 24.99 MB / 0.9151 GB, free: 9.332 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01345/2.016, allocations: 7.52 MB / 0.9225 GB, free: 1.762 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00988/2.026, allocations: 3.286 MB / 0.9257 GB, free: 14.47 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002987/2.029, allocations: 0.4887 MB / 0.9262 GB, free: 13.98 MB / 474.7 MB Notification: Performance of SimCode: time 2.274e-06/2.029, allocations: 0 / 0.9262 GB, free: 13.98 MB / 474.7 MB Notification: Performance of Templates: time 0.3456/2.375, allocations: 76.18 MB / 1.001 GB, free: 105.9 MB / 474.7 MB " [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: 10.11459511006251]