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.001602/0.001601, allocations: 109.5 kB / 17.02 MB, free: 5.707 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.001491/0.001491, allocations: 194 kB / 17.96 MB, free: 5.113 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.921/1.921, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.242/0.242, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001466/0.001466, allocations: 76.78 kB / 384.2 MB, free: 56.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1464, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02276/0.1692, allocations: 19.89 MB / 461.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.1843, allocations: 4.939 MB / 466.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006146/0.1905, allocations: 135.6 kB / 466.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01915/0.2097, allocations: 7.784 MB / 474.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.2212, allocations: 2.288 MB / 477 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005202/0.2264, allocations: 1.273 MB / 478.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01949/0.2459, allocations: 12.37 MB / 490.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03894/0.2849, allocations: 26.1 MB / 0.5046 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01451/0.2995, allocations: 6.596 MB / 0.5111 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01596/0.3155, allocations: 7.323 MB / 0.5182 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006591/0.3221, allocations: 1.738 MB / 0.5199 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009091/0.3313, allocations: 1.933 MB / 0.5218 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008181/0.3395, allocations: 3.717 MB / 0.5254 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3427/0.6822, allocations: 7.106 MB / 0.5324 GB, free: 41.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03251/0.7148, allocations: 23.66 MB / 0.5555 GB, free: 37.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7149, allocations: 2.812 kB / 0.5555 GB, free: 37.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7149, allocations: 0 / 0.5555 GB, free: 37.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008311/0.7157, allocations: 0 / 0.5555 GB, free: 37.5 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.06487/0.7806, allocations: 14.8 MB / 0.5699 GB, free: 29.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.7807, allocations: 16.86 kB / 0.57 GB, free: 29.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07593/0.8566, allocations: 12.43 MB / 0.5821 GB, free: 24.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/0.8757, allocations: 6.611 MB / 0.5885 GB, free: 20.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/0.8768, allocations: 0.9002 MB / 0.5894 GB, free: 19.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007559/0.8843, allocations: 1.192 MB / 0.5906 GB, free: 18.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06385/0.9482, allocations: 19.05 MB / 0.6092 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006738/0.9489, allocations: 19.81 kB / 0.6092 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006708/0.9557, allocations: 0.4973 MB / 0.6097 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009664/0.9566, allocations: 0.6856 MB / 0.6104 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06253/1.019, allocations: 19.83 MB / 0.6297 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1601/1.179, allocations: 61.53 MB / 0.6898 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02866/1.208, allocations: 20.17 MB / 0.7095 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009194/1.217, allocations: 4.623 MB / 0.714 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/1.218, allocations: 244.4 kB / 0.7143 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/1.218, allocations: 107.8 kB / 0.7144 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=674): time 8.967e-06/1.218, allocations: 0 / 0.7144 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=674): time 0.02455/1.243, allocations: 12.54 MB / 0.7266 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.243, allocations: 123.3 kB / 0.7267 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3601/1.603, allocations: 8.717 MB / 0.7352 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.002259/1.605, allocations: 136.3 kB / 0.7354 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.008503/1.614, allocations: 4.603 MB / 0.7399 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.005264/1.619, allocations: 2.263 MB / 0.7421 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004194/1.623, allocations: 1.506 MB / 0.7435 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/1.624, allocations: 303.9 kB / 0.7438 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007418/1.631, allocations: 4.198 MB / 0.7479 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01002/1.641, allocations: 7.237 MB / 0.755 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01887/1.66, allocations: 12.39 MB / 0.7671 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000249/1.66, allocations: 30.19 kB / 0.7671 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02853/1.689, allocations: 12.41 MB / 0.7792 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.689, allocations: 52.19 kB / 0.7793 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/1.689, allocations: 96 kB / 0.7794 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/1.69, allocations: 421.7 kB / 0.7798 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008429/1.699, allocations: 2.098 MB / 0.7818 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00587/1.705, allocations: 9.603 MB / 0.7912 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009816/1.714, allocations: 1.398 MB / 0.7926 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002251/1.717, allocations: 399.8 kB / 0.793 GB, free: 145.6 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.01214/1.729, allocations: 4.664 MB / 0.7975 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00293/1.732, allocations: 0.7136 MB / 0.7982 GB, free: 141 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01908/1.751, allocations: 11.04 MB / 0.809 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.113e-05/1.751, allocations: 72 kB / 0.8091 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/1.751, allocations: 4 kB / 0.8091 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-05/1.751, allocations: 39.25 kB / 0.8091 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5875/2.339, allocations: 159 MB / 0.9644 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000396/2.339, allocations: 85.94 kB / 0.9645 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007255/2.346, allocations: 1.573 MB / 0.966 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/2.348, allocations: 379 kB / 0.9664 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001849/2.349, allocations: 256 kB / 0.9666 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006287/2.356, allocations: 9.457 MB / 0.9759 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.486e-05/2.356, allocations: 139.5 kB / 0.976 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03341/2.389, allocations: 18.85 MB / 0.9944 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009444/2.399, allocations: 2.038 MB / 0.9964 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003749/2.403, allocations: 255.1 kB / 0.9967 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008116/2.411, allocations: 0.5698 MB / 0.9972 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001961/2.413, allocations: 0.7423 MB / 0.9979 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001229/2.414, allocations: 311.3 kB / 0.9982 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0157/2.43, allocations: 6.121 MB / 1.004 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.8e-07/2.43, allocations: 4 kB / 1.004 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01816/2.448, allocations: 2.673 MB / 1.007 GB, free: 124.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.003815/2.452, allocations: 0.4941 MB / 1.007 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02603/2.478, allocations: 10.84 MB / 1.018 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 0.0002119/2.478, allocations: 20.19 kB / 1.018 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01148/2.49, allocations: 5.505 MB / 1.023 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02077/2.51, allocations: 1.505 MB / 1.025 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06248/2.573, allocations: 25.13 MB / 1.049 GB, free: 80.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02081/2.594, allocations: 7.882 MB / 1.057 GB, free: 72.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01376/2.608, allocations: 3.647 MB / 1.061 GB, free: 69.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004832/2.613, allocations: 0.597 MB / 1.061 GB, free: 68.67 MB / 0.5294 GB Notification: Performance of SimCode: time 2.414e-06/2.613, allocations: 0 / 1.061 GB, free: 68.67 MB / 0.5294 GB Notification: Performance of Templates: time 0.5551/3.168, allocations: 94.63 MB / 1.154 GB, free: 167.5 MB / 0.545 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 -s cvode -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