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.001112/0.001111, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.00128/0.00128, allocations: 190 kB / 17.19 MB, free: 5.602 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.679/1.679, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2475/0.2475, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001767/0.001767, allocations: 72.56 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1483, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02187/0.1702, allocations: 19.89 MB / 460.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.1869, allocations: 4.939 MB / 465.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006496/0.1934, allocations: 135.6 kB / 465.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01956/0.2131, allocations: 7.78 MB / 473.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.2246, allocations: 2.289 MB / 475.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005321/0.23, allocations: 1.275 MB / 476.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01972/0.2497, allocations: 12.27 MB / 489.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0531/0.3029, allocations: 26.21 MB / 0.5032 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01516/0.3181, allocations: 6.577 MB / 0.5097 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01618/0.3343, allocations: 7.342 MB / 0.5168 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007652/0.342, allocations: 1.73 MB / 0.5185 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01166/0.3537, allocations: 1.933 MB / 0.5204 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01017/0.364, allocations: 3.713 MB / 0.524 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3388/0.7028, allocations: 7.109 MB / 0.531 GB, free: 41.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03257/0.7355, allocations: 23.53 MB / 0.554 GB, free: 37.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.7355, allocations: 0 / 0.554 GB, free: 37.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.7355, allocations: 0 / 0.554 GB, free: 37.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001064/0.7366, allocations: 6.344 kB / 0.554 GB, free: 37.21 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.06591/0.8025, allocations: 14.8 MB / 0.5684 GB, free: 30.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.8026, allocations: 13.67 kB / 0.5684 GB, free: 30.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06413/0.8667, allocations: 12.42 MB / 0.5806 GB, free: 24.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02152/0.8883, allocations: 6.579 MB / 0.587 GB, free: 21.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001199/0.8895, allocations: 0.9042 MB / 0.5879 GB, free: 20.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009228/0.8988, allocations: 1.184 MB / 0.589 GB, free: 19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06607/0.9649, allocations: 19.05 MB / 0.6076 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001248/0.9662, allocations: 19.81 kB / 0.6076 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01052/0.9768, allocations: 0.495 MB / 0.6081 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/0.978, allocations: 0.6856 MB / 0.6088 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06084/1.039, allocations: 19.83 MB / 0.6282 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.176/1.215, allocations: 62.21 MB / 0.6889 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02873/1.244, allocations: 20.18 MB / 0.7086 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01064/1.254, allocations: 4.619 MB / 0.7131 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009815/1.255, allocations: 246.5 kB / 0.7134 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/1.256, allocations: 111.8 kB / 0.7135 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=674): time 8.677e-06/1.256, allocations: 0 / 0.7135 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=674): time 0.02656/1.282, allocations: 12.54 MB / 0.7257 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.282, allocations: 124.7 kB / 0.7258 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3748/1.657, allocations: 8.72 MB / 0.7344 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001772/1.659, allocations: 132.8 kB / 0.7345 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005632/1.665, allocations: 4.605 MB / 0.739 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003733/1.668, allocations: 2.258 MB / 0.7412 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002946/1.671, allocations: 1.512 MB / 0.7427 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.093e-05/1.671, allocations: 304.7 kB / 0.7429 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007865/1.679, allocations: 4.191 MB / 0.747 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009515/1.689, allocations: 7.229 MB / 0.7541 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/1.706, allocations: 12.41 MB / 0.7662 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001533/1.706, allocations: 26.41 kB / 0.7662 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02359/1.73, allocations: 12.4 MB / 0.7784 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.73, allocations: 48 kB / 0.7784 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002202/1.73, allocations: 97.41 kB / 0.7785 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/1.732, allocations: 428.6 kB / 0.7789 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009308/1.741, allocations: 2.094 MB / 0.7809 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007028/1.748, allocations: 9.608 MB / 0.7903 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/1.759, allocations: 1.399 MB / 0.7917 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00204/1.761, allocations: 403.9 kB / 0.7921 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.01049/1.772, allocations: 4.656 MB / 0.7966 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002085/1.774, allocations: 0.7136 MB / 0.7973 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.791, allocations: 11.06 MB / 0.8081 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.637e-05/1.791, allocations: 68 kB / 0.8082 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/1.791, allocations: 4 kB / 0.8082 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.433e-05/1.791, allocations: 31.88 kB / 0.8082 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5688/2.36, allocations: 159.2 MB / 0.9637 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000552/2.36, allocations: 87.53 kB / 0.9638 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007108/2.368, allocations: 1.569 MB / 0.9653 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/2.369, allocations: 395.8 kB / 0.9657 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00224/2.372, allocations: 245.2 kB / 0.9659 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008091/2.38, allocations: 9.46 MB / 0.9751 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001436/2.38, allocations: 135.6 kB / 0.9753 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0365/2.416, allocations: 18.85 MB / 0.9937 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007187/2.424, allocations: 2.044 MB / 0.9957 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002956/2.427, allocations: 248.4 kB / 0.9959 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007544/2.434, allocations: 0.5594 MB / 0.9965 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001732/2.436, allocations: 0.7472 MB / 0.9972 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005954/2.437, allocations: 315.6 kB / 0.9975 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01036/2.447, allocations: 6.121 MB / 1.003 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.81e-07/2.447, allocations: 2.078 kB / 1.003 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01258/2.46, allocations: 2.675 MB / 1.006 GB, free: 124.1 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.002072/2.462, allocations: 0.5032 MB / 1.007 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.03237/2.494, allocations: 17.44 MB / 1.024 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 0.0001109/2.494, allocations: 12 kB / 1.024 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009669/2.504, allocations: 5.506 MB / 1.029 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01631/2.52, allocations: 1.511 MB / 1.03 GB, free: 99.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0467/2.567, allocations: 25.37 MB / 1.055 GB, free: 73.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01481/2.582, allocations: 7.883 MB / 1.063 GB, free: 65.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0118/2.594, allocations: 3.646 MB / 1.067 GB, free: 61.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002682/2.596, allocations: 0.597 MB / 1.067 GB, free: 60.88 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/2.596, allocations: 0 / 1.067 GB, free: 60.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.4606/3.057, allocations: 105.3 MB / 1.17 GB, free: 141.7 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 -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/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) Reference file matches