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.001055/0.001055, allocations: 80.98 kB / 20.65 MB, free: 3.836 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.001216/0.001216, allocations: 177 kB / 24.06 MB, free: 444 kB / 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.9759/0.9759, allocations: 158.6 MB / 185.9 MB, free: 2.758 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.1453/0.1453, allocations: 32.38 MB / 270.7 MB, free: 14.52 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.[0-9,]+..re|v.[0-9,]+..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.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.088e-05, allocations: 5.406 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01266/0.01268, allocations: 18.52 MB / 366.6 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00955/0.02223, allocations: 4.947 MB / 371.6 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/0.02571, allocations: 163.1 kB / 371.8 MB, free: 1.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008941/0.03465, allocations: 8.104 MB / 379.9 MB, free: 9.289 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006776/0.04143, allocations: 2.214 MB / 382.1 MB, free: 7.062 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.04396, allocations: 1.392 MB / 383.5 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.05485, allocations: 12.82 MB / 396.3 MB, free: 8.801 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02183/0.07668, allocations: 16.84 MB / 413.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01587/0.09256, allocations: 9.938 MB / 423.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/0.1026, allocations: 7.404 MB / 430.5 MB, free: 6.383 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003162/0.1058, allocations: 1.734 MB / 432.2 MB, free: 4.648 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003683/0.1094, allocations: 1.921 MB / 434.1 MB, free: 2.727 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1989/0.3084, allocations: 3.876 MB / 438 MB, free: 45.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01163/0.32, allocations: 4.833 MB / 442.8 MB, free: 45.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0194/0.3394, allocations: 12.15 MB / 455 MB, free: 44.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3394, allocations: 0 / 455 MB, free: 44.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3394, allocations: 0 / 455 MB, free: 44.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007686/0.3402, allocations: 3.938 kB / 455 MB, free: 44.45 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.03233/0.3725, allocations: 15.48 MB / 470.5 MB, free: 37.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.3726, allocations: 7.75 kB / 470.5 MB, free: 37.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02881/0.4014, allocations: 10.21 MB / 480.7 MB, free: 34.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/0.4149, allocations: 5.388 MB / 486.1 MB, free: 29.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006253/0.4155, allocations: 0.9039 MB / 487 MB, free: 28.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003703/0.4192, allocations: 1.195 MB / 488.2 MB, free: 27.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.4317, allocations: 7.61 MB / 495.8 MB, free: 19.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/0.4319, allocations: 19.09 kB / 495.8 MB, free: 19.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008535/0.4327, allocations: 0.4961 MB / 496.3 MB, free: 18.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004844/0.4332, allocations: 0.6918 MB / 497 MB, free: 18.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007537/0.4407, allocations: 5.039 MB / 0.4903 GB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0605/0.5012, allocations: 45.57 MB / 0.5348 GB, free: 1.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008017/0.5092, allocations: 7.058 MB / 0.5417 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.511, allocations: 1.384 MB / 0.543 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.5113, allocations: 229 kB / 0.5432 GB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.468e-05/0.5114, allocations: 106.7 kB / 0.5433 GB, free: 9.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=674): time 8.216e-06/0.5114, allocations: 4 kB / 0.5433 GB, free: 9.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=674): time 0.006394/0.5178, allocations: 4.105 MB / 0.5473 GB, free: 5.227 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.5179, allocations: 120.7 kB / 0.5475 GB, free: 5.094 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004368/0.5223, allocations: 3.604 MB / 0.551 GB, free: 1.969 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.5225, allocations: 137.7 kB / 0.5511 GB, free: 1.828 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003182/0.5257, allocations: 5.123 MB / 0.5561 GB, free: 12.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001735/0.5275, allocations: 2.483 MB / 0.5585 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001742/0.5292, allocations: 1.728 MB / 0.5602 GB, free: 8.887 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004083/0.5296, allocations: 483.5 kB / 0.5607 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.531, allocations: 0.8274 MB / 0.5615 GB, free: 7.578 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003855/0.5349, allocations: 5.439 MB / 0.5668 GB, free: 468 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006363/0.5413, allocations: 7.114 MB / 0.5737 GB, free: 7.961 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.579e-05/0.5413, allocations: 32 kB / 0.5738 GB, free: 7.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.008515/0.5498, allocations: 5.718 MB / 0.5794 GB, free: 2.738 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/0.5499, allocations: 44.94 kB / 0.5794 GB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.55, allocations: 100 kB / 0.5795 GB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000886/0.5509, allocations: 403.2 kB / 0.5799 GB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/0.5545, allocations: 1.845 MB / 0.5817 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005338/0.5598, allocations: 10.65 MB / 0.5921 GB, free: 5.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/0.5634, allocations: 0.7992 MB / 0.5929 GB, free: 4.465 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004284/0.5638, allocations: 332 kB / 0.5932 GB, free: 4.141 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.004591/0.5684, allocations: 0.7091 MB / 0.5939 GB, free: 3.555 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009/0.5693, allocations: 0.7 MB / 0.5946 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1995/0.7688, allocations: 6.054 MB / 0.6005 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/0.7688, allocations: 67.38 kB / 0.6005 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/0.7689, allocations: 5.75 kB / 0.6005 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/0.7689, allocations: 33.38 kB / 0.6006 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05586/0.8248, allocations: 23.65 MB / 0.6237 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001467/0.8249, allocations: 88.97 kB / 0.6238 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/0.8278, allocations: 1.34 MB / 0.6251 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007459/0.8286, allocations: 376.8 kB / 0.6254 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005388/0.8291, allocations: 254.5 kB / 0.6257 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/0.8328, allocations: 10.6 MB / 0.636 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.876e-05/0.8329, allocations: 141.5 kB / 0.6362 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.8432, allocations: 10.15 MB / 0.6461 GB, free: 95.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/0.8453, allocations: 1.249 MB / 0.6473 GB, free: 94.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005249/0.8459, allocations: 247.9 kB / 0.6475 GB, free: 94.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.8478, allocations: 289.8 kB / 0.6478 GB, free: 94.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006667/0.8485, allocations: 0.7675 MB / 0.6486 GB, free: 93.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000292/0.8488, allocations: 269.3 kB / 0.6488 GB, free: 93.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001681/0.8505, allocations: 1.517 MB / 0.6503 GB, free: 92.67 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.8505, allocations: 0 / 0.6503 GB, free: 92.67 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007392/0.8579, allocations: 3.006 MB / 0.6532 GB, free: 89.95 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.0006415/0.8585, allocations: 0.4924 MB / 0.6537 GB, free: 89.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005503/0.864, allocations: 5.327 MB / 0.6589 GB, free: 85.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.994e-05/0.864, allocations: 12 kB / 0.6589 GB, free: 85.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002247/0.8663, allocations: 3.153 MB / 0.662 GB, free: 83.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/0.8703, allocations: 1.305 MB / 0.6633 GB, free: 82.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/0.8944, allocations: 21.51 MB / 0.6843 GB, free: 63.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00336/0.8977, allocations: 3.469 MB / 0.6877 GB, free: 61.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003623/0.9014, allocations: 0.9497 MB / 0.6886 GB, free: 61.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002337/0.9037, allocations: 1.358 MB / 0.6899 GB, free: 60.04 MB / 458.7 MB Notification: Performance of SimCode: time 1.783e-06/0.9037, allocations: 0 / 0.6899 GB, free: 60.04 MB / 458.7 MB Notification: Performance of Templates: time 0.1109/1.015, allocations: 83.18 MB / 0.7712 GB, free: 10.1 MB / 490.7 MB " [Timeout remaining time 659] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.040192415937781]