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.001205/0.001205, allocations: 100.6 kB / 16.94 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.43/1.43, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2012/0.2012, allocations: 43.52 MB / 314.6 MB, free: 0.5273 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.00145/0.00145, allocations: 68.86 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09649/0.09795, allocations: 57.8 MB / 441.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01701/0.115, allocations: 19.89 MB / 461.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.1259, allocations: 4.939 MB / 466 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/0.1302, allocations: 135.6 kB / 466.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01688/0.1472, allocations: 7.774 MB / 473.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008334/0.1555, allocations: 2.291 MB / 476.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004268/0.1598, allocations: 1.28 MB / 477.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01446/0.1743, allocations: 12.26 MB / 489.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03737/0.2117, allocations: 26.21 MB / 0.5039 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01094/0.2227, allocations: 6.581 MB / 0.5103 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01277/0.2355, allocations: 7.346 MB / 0.5175 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005545/0.2411, allocations: 1.734 MB / 0.5192 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007527/0.2487, allocations: 1.926 MB / 0.5211 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006736/0.2554, allocations: 3.717 MB / 0.5247 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2541/0.5095, allocations: 7.106 MB / 0.5316 GB, free: 41.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02871/0.5383, allocations: 23.53 MB / 0.5546 GB, free: 37.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.5383, allocations: 1 kB / 0.5546 GB, free: 37.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5384, allocations: 0 / 0.5546 GB, free: 37.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008645/0.5392, allocations: 2.312 kB / 0.5546 GB, free: 37.27 MB / 414.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.05289/0.5921, allocations: 14.8 MB / 0.5691 GB, free: 30.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.5922, allocations: 10.86 kB / 0.5691 GB, free: 30.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0653/0.6575, allocations: 12.43 MB / 0.5812 GB, free: 24.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/0.6743, allocations: 6.581 MB / 0.5876 GB, free: 21.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001143/0.6755, allocations: 0.9025 MB / 0.5885 GB, free: 20.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006764/0.6823, allocations: 1.187 MB / 0.5897 GB, free: 18.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05343/0.7358, allocations: 19.04 MB / 0.6083 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005959/0.7364, allocations: 27.75 kB / 0.6083 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005673/0.7421, allocations: 0.4969 MB / 0.6088 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007886/0.7429, allocations: 0.6895 MB / 0.6095 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04739/0.7903, allocations: 19.83 MB / 0.6288 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1268/0.9172, allocations: 62.21 MB / 0.6896 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02471/0.9419, allocations: 20.17 MB / 0.7093 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007799/0.9498, allocations: 4.619 MB / 0.7138 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005629/0.9504, allocations: 243.4 kB / 0.714 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.538e-05/0.9505, allocations: 111.8 kB / 0.7141 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=674): time 7.745e-06/0.9505, allocations: 0 / 0.7141 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=674): time 0.02213/0.9726, allocations: 12.54 MB / 0.7264 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.9728, allocations: 124.7 kB / 0.7265 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2497/1.222, allocations: 8.721 MB / 0.735 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001191/1.224, allocations: 132.5 kB / 0.7351 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004254/1.228, allocations: 4.601 MB / 0.7396 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002637/1.231, allocations: 2.263 MB / 0.7418 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002667/1.233, allocations: 1.506 MB / 0.7433 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/1.233, allocations: 305.1 kB / 0.7436 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005714/1.239, allocations: 4.196 MB / 0.7477 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006944/1.246, allocations: 7.233 MB / 0.7548 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/1.259, allocations: 12.4 MB / 0.7669 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/1.26, allocations: 30.47 kB / 0.7669 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02202/1.282, allocations: 12.41 MB / 0.779 GB, free: 159 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.282, allocations: 44 kB / 0.7791 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001852/1.282, allocations: 100.7 kB / 0.7791 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009947/1.283, allocations: 417.7 kB / 0.7795 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007562/1.291, allocations: 2.105 MB / 0.7816 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005801/1.296, allocations: 9.605 MB / 0.791 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008711/1.305, allocations: 1.398 MB / 0.7923 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001968/1.307, allocations: 399.9 kB / 0.7927 GB, free: 145.2 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.009639/1.317, allocations: 4.664 MB / 0.7973 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00207/1.319, allocations: 0.7098 MB / 0.798 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/1.335, allocations: 11.06 MB / 0.8088 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.638e-05/1.335, allocations: 68 kB / 0.8088 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/1.335, allocations: 0 / 0.8088 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.257e-05/1.335, allocations: 35.86 kB / 0.8089 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4403/1.776, allocations: 159.2 MB / 0.9643 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002983/1.776, allocations: 87.28 kB / 0.9644 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006185/1.782, allocations: 1.576 MB / 0.966 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/1.783, allocations: 387.6 kB / 0.9663 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001627/1.785, allocations: 251.6 kB / 0.9666 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005762/1.791, allocations: 9.467 MB / 0.9758 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001077/1.791, allocations: 137 kB / 0.9759 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02563/1.816, allocations: 18.85 MB / 0.9943 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006146/1.823, allocations: 2.048 MB / 0.9963 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003086/1.826, allocations: 248 kB / 0.9966 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007421/1.833, allocations: 0.5573 MB / 0.9971 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001995/1.835, allocations: 0.7454 MB / 0.9979 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009414/1.836, allocations: 316 kB / 0.9982 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01202/1.848, allocations: 6.12 MB / 1.004 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.91e-07/1.848, allocations: 0 / 1.004 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01326/1.861, allocations: 2.675 MB / 1.007 GB, free: 123.9 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 (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.002012/1.864, allocations: 0.4976 MB / 1.007 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.03037/1.894, allocations: 17.43 MB / 1.024 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 0.0001086/1.894, allocations: 16 kB / 1.024 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008231/1.902, allocations: 5.506 MB / 1.03 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01386/1.916, allocations: 1.518 MB / 1.031 GB, free: 99.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04439/1.961, allocations: 24.97 MB / 1.056 GB, free: 73.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01033/1.971, allocations: 7.631 MB / 1.063 GB, free: 65.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003285/1.974, allocations: 0.6517 MB / 1.064 GB, free: 64.83 MB / 0.5294 GB Notification: Performance of SimCode: time 1.633e-06/1.974, allocations: 3.938 kB / 1.064 GB, free: 64.83 MB / 0.5294 GB Notification: Performance of Templates: time 1.534/3.509, allocations: 0.5425 GB / 1.606 GB, free: 190.4 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches