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.001647/0.001647, allocations: 77.39 kB / 19.93 MB, free: 1.773 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.001612/0.001612, allocations: 171.9 kB / 23.22 MB, free: 4.883 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.619/1.619, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.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.2321/0.2321, allocations: 32.38 MB / 269.6 MB, free: 2.73 MB / 254.1 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 2.154e-06/2.154e-06, allocations: 0 / 407.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.218e-05, allocations: 2.281 kB / 407.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02269/0.02272, allocations: 17.1 MB / 424.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.03727, allocations: 4.845 MB / 429.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005367/0.04264, allocations: 171.1 kB / 429.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02089/0.06353, allocations: 7.684 MB / 437.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.07386, allocations: 2.21 MB / 439.4 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.07874, allocations: 1.414 MB / 440.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02011/0.09884, allocations: 12.82 MB / 453.6 MB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4354/0.5343, allocations: 16.82 MB / 470.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0233/0.5576, allocations: 9.863 MB / 480.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01436/0.5719, allocations: 6.632 MB / 486.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009135/0.581, allocations: 1.736 MB / 488.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/0.5914, allocations: 1.929 MB / 490.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006516/0.5979, allocations: 3.811 MB / 494.4 MB, free: 8.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009956/0.6079, allocations: 4.775 MB / 499.2 MB, free: 6.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02778/0.6357, allocations: 23.96 MB / 0.5109 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.6357, allocations: 4 kB / 0.5109 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6357, allocations: 0 / 0.5109 GB, free: 248 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007917/0.6365, allocations: 0 / 0.5109 GB, free: 248 kB / 398.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.0494/0.6859, allocations: 14.87 MB / 0.5254 GB, free: 1.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.6859, allocations: 8.031 kB / 0.5254 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1011/0.787, allocations: 12.48 MB / 0.5376 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/0.8054, allocations: 6.769 MB / 0.5442 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/0.8067, allocations: 0.9018 MB / 0.5451 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006432/0.8131, allocations: 1.194 MB / 0.5462 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06247/0.8756, allocations: 19.58 MB / 0.5654 GB, free: 8.773 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008106/0.8764, allocations: 19.89 kB / 0.5654 GB, free: 8.754 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006762/0.8832, allocations: 0.494 MB / 0.5659 GB, free: 8.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00126/0.8844, allocations: 0.6895 MB / 0.5665 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05656/0.941, allocations: 19.74 MB / 0.5858 GB, free: 3.828 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1418/1.083, allocations: 52.81 MB / 0.6374 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02367/1.106, allocations: 11.44 MB / 0.6486 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008403/1.115, allocations: 4.303 MB / 0.6528 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005689/1.115, allocations: 133.2 kB / 0.6529 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3401/1.456, allocations: 103.7 kB / 0.653 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=674): time 7.72e-05/1.456, allocations: 1.375 kB / 0.653 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=674): time 0.04306/1.499, allocations: 11.87 MB / 0.6646 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/1.499, allocations: 120.8 kB / 0.6647 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01298/1.512, allocations: 3.954 MB / 0.6685 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.002176/1.514, allocations: 135.2 kB / 0.6687 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004756/1.519, allocations: 4.798 MB / 0.6734 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003969/1.523, allocations: 2.345 MB / 0.6757 GB, free: 140 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003846/1.527, allocations: 1.502 MB / 0.6771 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/1.527, allocations: 310.4 kB / 0.6774 GB, free: 139 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00735/1.534, allocations: 4.192 MB / 0.6815 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008567/1.543, allocations: 7.231 MB / 0.6886 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01623/1.559, allocations: 12.4 MB / 0.7007 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002038/1.559, allocations: 28.09 kB / 0.7007 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02717/1.586, allocations: 12.18 MB / 0.7126 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/1.586, allocations: 50.66 kB / 0.7126 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003865/1.587, allocations: 100 kB / 0.7127 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/1.588, allocations: 427.8 kB / 0.7131 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008772/1.597, allocations: 2.091 MB / 0.7152 GB, free: 118.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005946/1.603, allocations: 8.824 MB / 0.7238 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007791/1.611, allocations: 1.086 MB / 0.7249 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002131/1.613, allocations: 395.2 kB / 0.7252 GB, free: 108.4 MB / 0.5294 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.01168/1.625, allocations: 4.66 MB / 0.7298 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002417/1.627, allocations: 0.4925 MB / 0.7303 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01906/1.646, allocations: 10.76 MB / 0.7408 GB, free: 95.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.694e-05/1.646, allocations: 68 kB / 0.7408 GB, free: 95.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/1.646, allocations: 11.94 kB / 0.7409 GB, free: 95.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.648e-05/1.646, allocations: 38.25 kB / 0.7409 GB, free: 95.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4932/2.139, allocations: 152.2 MB / 0.8895 GB, free: 156 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002231/2.14, allocations: 87.06 kB / 0.8896 GB, free: 156 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00654/2.146, allocations: 1.571 MB / 0.8911 GB, free: 156 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009414/2.147, allocations: 393 kB / 0.8915 GB, free: 156 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009425/2.148, allocations: 252.1 kB / 0.8917 GB, free: 156 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006436/2.154, allocations: 8.693 MB / 0.9002 GB, free: 149 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.814e-05/2.155, allocations: 138.8 kB / 0.9003 GB, free: 149 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02566/2.18, allocations: 18.44 MB / 0.9183 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004991/2.185, allocations: 1.556 MB / 0.9199 GB, free: 138.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002174/2.187, allocations: 258.9 kB / 0.9201 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005886/2.193, allocations: 0.56 MB / 0.9207 GB, free: 138 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001764/2.195, allocations: 0.767 MB / 0.9214 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007539/2.196, allocations: 312.8 kB / 0.9217 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004506/2.2, allocations: 2.616 MB / 0.9243 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.4e-07/2.2, allocations: 0 / 0.9243 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01273/2.213, allocations: 3.002 MB / 0.9272 GB, free: 136.3 MB / 0.5607 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.002961/2.216, allocations: 0.4946 MB / 0.9277 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01863/2.235, allocations: 10.53 MB / 0.938 GB, free: 128.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 0.0001599/2.235, allocations: 12 kB / 0.938 GB, free: 128.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008347/2.243, allocations: 5.324 MB / 0.9432 GB, free: 124.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01139/2.254, allocations: 1.289 MB / 0.9444 GB, free: 123.1 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04504/2.3, allocations: 24.7 MB / 0.9685 GB, free: 99.91 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01029/2.31, allocations: 7.516 MB / 0.9759 GB, free: 92.72 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.008341/2.318, allocations: 3.29 MB / 0.9791 GB, free: 89.42 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002774/2.321, allocations: 0.4926 MB / 0.9796 GB, free: 88.93 MB / 0.5607 GB Notification: Performance of SimCode: time 2.464e-06/2.321, allocations: 0 / 0.9796 GB, free: 88.93 MB / 0.5607 GB Notification: Performance of Templates: time 0.1259/2.447, allocations: 75.85 MB / 1.054 GB, free: 13.33 MB / 0.5607 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: 10.42205661535263]