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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009814/0.0009815, allocations: 177.8 kB / 16.57 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3316/0.3316, allocations: 43.55 MB / 314.5 MB, free: 9.062 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005356/0.0005357, allocations: 12 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 58.86 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.1978/0.3129, allocations: 15.94 MB / 458.7 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008803/0.3217, allocations: 4.739 MB / 463.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003033/0.3248, allocations: 124 kB / 463.5 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00286/0.3276, allocations: 0.9629 MB / 464.5 MB, free: 35.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00568/0.3333, allocations: 1.87 MB / 466.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.336, allocations: 0.9554 MB / 467.3 MB, free: 35.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01/0.346, allocations: 7.884 MB / 475.2 MB, free: 34.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03594/0.382, allocations: 21.14 MB / 496.4 MB, free: 24.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007666/0.3897, allocations: 4.164 MB / 0.4888 GB, free: 22.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009407/0.3991, allocations: 4.734 MB / 0.4934 GB, free: 20.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003045/0.4022, allocations: 0.6843 MB / 0.4941 GB, free: 20.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005225/0.4074, allocations: 0.83 MB / 0.4949 GB, free: 20.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002954/0.4104, allocations: 2.262 MB / 0.4971 GB, free: 18.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005346/0.4158, allocations: 2.36 MB / 0.4994 GB, free: 17.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0206/0.4364, allocations: 19.8 MB / 0.5187 GB, free: 3.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4364, allocations: 0 / 0.5187 GB, free: 3.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.4365, allocations: 3.938 kB / 0.5187 GB, free: 3.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007168/0.4372, allocations: 0 / 0.5187 GB, free: 3.211 MB / 382.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.03254/0.4697, allocations: 12.15 MB / 0.5306 GB, free: 6.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4698, allocations: 12.02 kB / 0.5306 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06236/0.5322, allocations: 12.48 MB / 0.5428 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/0.5488, allocations: 6.676 MB / 0.5493 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001215/0.5501, allocations: 0.8993 MB / 0.5502 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005784/0.5559, allocations: 1.191 MB / 0.5514 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.049/0.6049, allocations: 18.84 MB / 0.5698 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003907/0.6053, allocations: 23.77 kB / 0.5698 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003823/0.6092, allocations: 0.4921 MB / 0.5703 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006724/0.6098, allocations: 0.6895 MB / 0.5709 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04349/0.6533, allocations: 19.71 MB / 0.5902 GB, free: 9.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5223/1.176, allocations: 62.12 MB / 0.6509 GB, free: 93.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02054/1.196, allocations: 20.08 MB / 0.6705 GB, free: 82.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007016/1.197, allocations: 239.9 kB / 0.6707 GB, free: 82.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.367e-05/1.197, allocations: 121.7 kB / 0.6708 GB, free: 82.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 8.386e-06/1.197, allocations: 0 / 0.6708 GB, free: 82.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.0184/1.216, allocations: 12.38 MB / 0.6829 GB, free: 79.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/1.216, allocations: 129.3 kB / 0.683 GB, free: 79.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/1.227, allocations: 8.595 MB / 0.6914 GB, free: 76.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009161/1.228, allocations: 134 kB / 0.6916 GB, free: 76.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002647/1.231, allocations: 4.604 MB / 0.696 GB, free: 73.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001777/1.233, allocations: 2.265 MB / 0.6983 GB, free: 71.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003839/1.233, allocations: 163.1 kB / 0.6984 GB, free: 71.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003268/1.234, allocations: 0.6333 MB / 0.699 GB, free: 70.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005105/1.239, allocations: 4.151 MB / 0.7031 GB, free: 69.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006039/1.245, allocations: 7.186 MB / 0.7101 GB, free: 64.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006336/1.251, allocations: 5.729 MB / 0.7157 GB, free: 61.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-05/1.251, allocations: 26.41 kB / 0.7157 GB, free: 61.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=1034) (initialization): time 0.01589/1.267, allocations: 12.32 MB / 0.7278 GB, free: 55.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/1.267, allocations: 47.28 kB / 0.7278 GB, free: 55.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/1.267, allocations: 103.2 kB / 0.7279 GB, free: 55.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007727/1.268, allocations: 408.1 kB / 0.7283 GB, free: 55.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006974/1.275, allocations: 2.102 MB / 0.7303 GB, free: 54.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00497/1.28, allocations: 8.795 MB / 0.7389 GB, free: 46.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009281/1.289, allocations: 1.388 MB / 0.7403 GB, free: 45.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/1.291, allocations: 404.3 kB / 0.7407 GB, free: 45.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * 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 (1028): * Single equations (assignments): 1022 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009163/1.3, allocations: 4.669 MB / 0.7452 GB, free: 42.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.302, allocations: 0.7143 MB / 0.7459 GB, free: 41.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/1.316, allocations: 10.98 MB / 0.7566 GB, free: 30.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.574e-05/1.316, allocations: 75.95 kB / 0.7567 GB, free: 30.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/1.316, allocations: 4 kB / 0.7567 GB, free: 30.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.71e-05/1.316, allocations: 33.75 kB / 0.7568 GB, free: 30.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3963/1.712, allocations: 158.4 MB / 0.9115 GB, free: 121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003889/1.713, allocations: 88 kB / 0.9116 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006447/1.719, allocations: 1.571 MB / 0.9131 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009422/1.72, allocations: 372.7 kB / 0.9134 GB, free: 119 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001154/1.721, allocations: 251.8 kB / 0.9137 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004902/1.726, allocations: 8.691 MB / 0.9222 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.04e-05/1.726, allocations: 139.4 kB / 0.9223 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02227/1.749, allocations: 34.5 MB / 0.956 GB, free: 70.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004821/1.753, allocations: 2.036 MB / 0.958 GB, free: 68.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/1.755, allocations: 255.9 kB / 0.9582 GB, free: 68.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004294/1.759, allocations: 0.5542 MB / 0.9588 GB, free: 68.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008175/1.76, allocations: 0.7384 MB / 0.9595 GB, free: 67.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004112/1.76, allocations: 316 kB / 0.9598 GB, free: 67.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008105/1.768, allocations: 6.014 MB / 0.9657 GB, free: 61.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/1.768, allocations: 4 kB / 0.9657 GB, free: 61.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009979/1.778, allocations: 2.668 MB / 0.9683 GB, free: 58.43 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001305/1.78, allocations: 498.1 kB / 0.9687 GB, free: 57.94 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.792, allocations: 10.51 MB / 0.979 GB, free: 47.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.599e-05/1.792, allocations: 15.38 kB / 0.979 GB, free: 47.33 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006123/1.798, allocations: 5.464 MB / 0.9844 GB, free: 41.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006305/1.805, allocations: 1.379 MB / 0.9857 GB, free: 40.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03289/1.837, allocations: 28.38 MB / 1.013 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007525/1.845, allocations: 8.066 MB / 1.021 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00847/1.853, allocations: 3.657 MB / 1.025 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/1.856, allocations: 0.5969 MB / 1.025 GB, free: 14.45 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/1.856, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Templates: time 0.3629/2.218, allocations: 96.46 MB / 1.12 GB, free: 123.5 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches