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.00139/0.00139, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002305/0.002305, allocations: 210.6 kB / 22.99 MB, free: 4.605 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.762/1.762, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.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.2412/0.2412, allocations: 44.26 MB / 330.3 MB, free: 9.328 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 75.88 kB / 468 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1742, allocations: 61.04 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.03411/0.2084, allocations: 17.08 MB / 0.5333 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.2281, allocations: 4.846 MB / 0.5381 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007863/0.236, allocations: 163.1 kB / 0.5382 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3541/0.59, allocations: 7.261 MB / 0.5453 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009661/0.5997, allocations: 2.161 MB / 0.5474 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005093/0.6048, allocations: 1.393 MB / 0.5488 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01764/0.6224, allocations: 12.42 MB / 0.5609 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03577/0.6582, allocations: 17 MB / 0.5775 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01731/0.6755, allocations: 6.75 MB / 0.5841 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01646/0.692, allocations: 7.353 MB / 0.5913 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006552/0.6985, allocations: 1.732 MB / 0.593 GB, free: 4.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009188/0.7077, allocations: 1.924 MB / 0.5948 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008169/0.7159, allocations: 3.734 MB / 0.5985 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01636/0.7322, allocations: 5.567 MB / 0.6039 GB, free: 9.395 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03826/0.7705, allocations: 23.86 MB / 0.6272 GB, free: 1.898 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7705, allocations: 0 / 0.6272 GB, free: 1.898 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7705, allocations: 0 / 0.6272 GB, free: 1.898 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008147/0.7713, allocations: 0 / 0.6272 GB, free: 1.898 MB / 462.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.04888/0.8202, allocations: 14.98 MB / 0.6419 GB, free: 2.816 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.8202, allocations: 8.031 kB / 0.6419 GB, free: 2.809 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0691/0.8893, allocations: 12.48 MB / 0.6541 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01927/0.9086, allocations: 6.777 MB / 0.6607 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001452/0.9101, allocations: 0.9032 MB / 0.6616 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006793/0.9168, allocations: 1.191 MB / 0.6627 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05879/0.9756, allocations: 19.58 MB / 0.6818 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004478/0.9761, allocations: 23.89 kB / 0.6819 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004702/0.9808, allocations: 0.4921 MB / 0.6823 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009523/0.9817, allocations: 0.6856 MB / 0.683 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05352/1.035, allocations: 19.73 MB / 0.7023 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1245/1.16, allocations: 52.79 MB / 0.7538 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02356/1.183, allocations: 11.44 MB / 0.765 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.519/1.702, allocations: 4.298 MB / 0.7692 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.703, allocations: 139.3 kB / 0.7693 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/1.704, allocations: 104.1 kB / 0.7694 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 1.198e-05/1.704, allocations: 0 / 0.7694 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02261/1.726, allocations: 11.87 MB / 0.781 GB, free: 173.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/1.726, allocations: 123 kB / 0.7811 GB, free: 173 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007357/1.734, allocations: 3.95 MB / 0.785 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008483/1.734, allocations: 134.6 kB / 0.7851 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003407/1.738, allocations: 4.822 MB / 0.7898 GB, free: 169 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002621/1.74, allocations: 2.374 MB / 0.7922 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002651/1.743, allocations: 1.513 MB / 0.7936 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/1.743, allocations: 308.7 kB / 0.7939 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007254/1.75, allocations: 4.196 MB / 0.798 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00895/1.759, allocations: 7.226 MB / 0.8051 GB, free: 159.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01623/1.776, allocations: 12.4 MB / 0.8172 GB, free: 152.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002605/1.776, allocations: 27.69 kB / 0.8172 GB, free: 152.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01823/1.794, allocations: 12.17 MB / 0.8291 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/1.794, allocations: 46.5 kB / 0.8291 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001948/1.794, allocations: 98.41 kB / 0.8292 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009496/1.795, allocations: 424.1 kB / 0.8296 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007384/1.803, allocations: 2.093 MB / 0.8317 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005493/1.808, allocations: 8.837 MB / 0.8403 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007527/1.816, allocations: 1.078 MB / 0.8414 GB, free: 138 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/1.817, allocations: 399.5 kB / 0.8418 GB, free: 137.6 MB / 0.5919 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.007067/1.824, allocations: 4.662 MB / 0.8463 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000947/1.825, allocations: 0.4891 MB / 0.8468 GB, free: 133.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/1.839, allocations: 10.76 MB / 0.8573 GB, free: 123.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-05/1.839, allocations: 72 kB / 0.8574 GB, free: 123.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.839, allocations: 4 kB / 0.8574 GB, free: 123.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.274e-05/1.839, allocations: 35.86 kB / 0.8574 GB, free: 123.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1553/1.994, allocations: 152.2 MB / 1.006 GB, free: 1.785 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002127/1.994, allocations: 88 kB / 1.006 GB, free: 1.699 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006322/2.001, allocations: 1.575 MB / 1.008 GB, free: 124 kB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2735/2.274, allocations: 379.1 kB / 1.008 GB, free: 186 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001328/2.275, allocations: 250.7 kB / 1.008 GB, free: 186 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/2.281, allocations: 8.692 MB / 1.017 GB, free: 178.9 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001003/2.281, allocations: 136.8 kB / 1.017 GB, free: 178.9 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02992/2.311, allocations: 18.61 MB / 1.035 GB, free: 170.9 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005669/2.317, allocations: 1.564 MB / 1.037 GB, free: 170.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001889/2.319, allocations: 250 kB / 1.037 GB, free: 170.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005657/2.324, allocations: 0.5633 MB / 1.037 GB, free: 170.4 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00151/2.326, allocations: 0.7694 MB / 1.038 GB, free: 170.1 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006008/2.326, allocations: 314.3 kB / 1.038 GB, free: 170.1 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.004153/2.33, allocations: 2.607 MB / 1.041 GB, free: 169.2 MB / 0.6232 GB Notification: Performance of sort global known variables: time 8e-08/2.33, allocations: 2.078 kB / 1.041 GB, free: 169.2 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.009581/2.34, allocations: 3.002 MB / 1.044 GB, free: 168.6 MB / 0.6232 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.001305/2.341, allocations: 0.4979 MB / 1.044 GB, free: 168.3 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01443/2.356, allocations: 10.52 MB / 1.055 GB, free: 164.4 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 0.0001039/2.356, allocations: 11.69 kB / 1.055 GB, free: 164.4 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.007847/2.364, allocations: 5.339 MB / 1.06 GB, free: 162.2 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0136/2.377, allocations: 1.282 MB / 1.061 GB, free: 161.8 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04404/2.421, allocations: 24.81 MB / 1.085 GB, free: 149.2 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008993/2.43, allocations: 7.528 MB / 1.093 GB, free: 143.7 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.007919/2.438, allocations: 3.289 MB / 1.096 GB, free: 141.5 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/2.44, allocations: 493.2 kB / 1.096 GB, free: 141.1 MB / 0.6232 GB Notification: Performance of SimCode: time 1.974e-06/2.44, allocations: 0 / 1.096 GB, free: 141.1 MB / 0.6232 GB Notification: Performance of Templates: time 0.1267/2.567, allocations: 87.65 MB / 1.182 GB, free: 55.88 MB / 0.6232 GB " [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=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.682859279215336]