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.00148/0.00148, allocations: 106.6 kB / 16.41 MB, free: 6.02 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.00164/0.001641, allocations: 194.2 kB / 17.34 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.784/1.784, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2541/0.2541, allocations: 43.52 MB / 314.1 MB, free: 444 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.001566/0.001566, allocations: 59.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1287, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01945/0.1482, allocations: 19.9 MB / 0.5073 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.1601, allocations: 4.939 MB / 0.5121 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005515/0.1657, allocations: 135.6 kB / 0.5123 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01849/0.1843, allocations: 7.783 MB / 0.5199 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.195, allocations: 2.277 MB / 0.5221 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005186/0.2003, allocations: 1.278 MB / 0.5233 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3338/0.534, allocations: 12.36 MB / 0.5354 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04622/0.5803, allocations: 26.15 MB / 0.561 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/0.5914, allocations: 6.589 MB / 0.5674 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01552/0.607, allocations: 7.333 MB / 0.5745 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007808/0.6149, allocations: 1.734 MB / 0.5762 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009758/0.6246, allocations: 1.928 MB / 0.5781 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01107/0.6358, allocations: 4.02 MB / 0.5821 GB, free: 0 / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01639/0.6522, allocations: 7.15 MB / 0.589 GB, free: 9.449 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03472/0.687, allocations: 23.74 MB / 0.6122 GB, free: 3.754 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.687, allocations: 0 / 0.6122 GB, free: 3.754 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.687, allocations: 0 / 0.6122 GB, free: 3.754 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008436/0.6879, allocations: 0 / 0.6122 GB, free: 3.754 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.0476/0.7355, allocations: 15.07 MB / 0.6269 GB, free: 4.695 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.7356, allocations: 11.89 kB / 0.6269 GB, free: 4.684 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0649/0.8005, allocations: 12.48 MB / 0.6391 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01875/0.8193, allocations: 6.631 MB / 0.6456 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001295/0.8206, allocations: 0.905 MB / 0.6465 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006654/0.8273, allocations: 1.194 MB / 0.6477 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05502/0.8824, allocations: 19.05 MB / 0.6663 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006819/0.8831, allocations: 15.91 kB / 0.6663 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004525/0.8876, allocations: 0.4968 MB / 0.6668 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007576/0.8884, allocations: 0.6856 MB / 0.6674 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04741/0.9358, allocations: 19.83 MB / 0.6868 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1151/1.051, allocations: 61.7 MB / 0.747 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4947/1.546, allocations: 20.19 MB / 0.7668 GB, free: 170 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008194/1.554, allocations: 4.632 MB / 0.7713 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006514/1.555, allocations: 236.9 kB / 0.7715 GB, free: 169.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/1.555, allocations: 111.5 kB / 0.7716 GB, free: 169.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 1.014e-05/1.555, allocations: 5.125 kB / 0.7716 GB, free: 169.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02235/1.577, allocations: 12.57 MB / 0.7839 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/1.577, allocations: 122 kB / 0.784 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01344/1.591, allocations: 8.732 MB / 0.7925 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001185/1.592, allocations: 137.4 kB / 0.7927 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002976/1.595, allocations: 4.725 MB / 0.7973 GB, free: 161 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002441/1.597, allocations: 2.376 MB / 0.7996 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002355/1.6, allocations: 1.515 MB / 0.8011 GB, free: 158.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.722e-05/1.6, allocations: 304.2 kB / 0.8014 GB, free: 158.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00652/1.606, allocations: 4.197 MB / 0.8055 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008088/1.614, allocations: 7.227 MB / 0.8125 GB, free: 151.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/1.628, allocations: 12.4 MB / 0.8246 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.581e-05/1.628, allocations: 26.5 kB / 0.8247 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01777/1.646, allocations: 12.44 MB / 0.8368 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/1.646, allocations: 48 kB / 0.8369 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/1.646, allocations: 100 kB / 0.837 GB, free: 138.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008585/1.647, allocations: 422.1 kB / 0.8374 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006704/1.654, allocations: 2.101 MB / 0.8394 GB, free: 136.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005219/1.659, allocations: 9.618 MB / 0.8488 GB, free: 126.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007145/1.666, allocations: 1.436 MB / 0.8502 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/1.668, allocations: 395.4 kB / 0.8506 GB, free: 125 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.01135/1.679, allocations: 4.662 MB / 0.8551 GB, free: 121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001903/1.681, allocations: 0.749 MB / 0.8559 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/1.696, allocations: 11.05 MB / 0.8667 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/1.697, allocations: 75.98 kB / 0.8667 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/1.697, allocations: 0 / 0.8667 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.104e-05/1.697, allocations: 35.86 kB / 0.8668 GB, free: 109 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.462/2.159, allocations: 159.1 MB / 1.022 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001761/2.159, allocations: 89.62 kB / 1.022 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005352/2.164, allocations: 1.576 MB / 1.024 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007947/2.165, allocations: 389.9 kB / 1.024 GB, free: 173 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000788/2.166, allocations: 250 kB / 1.024 GB, free: 172.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006485/2.172, allocations: 9.47 MB / 1.034 GB, free: 164.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.266e-05/2.172, allocations: 135.1 kB / 1.034 GB, free: 164.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02357/2.196, allocations: 18.89 MB / 1.052 GB, free: 153 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006842/2.203, allocations: 2.079 MB / 1.054 GB, free: 152.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003231/2.206, allocations: 248.1 kB / 1.054 GB, free: 152.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006581/2.213, allocations: 0.5668 MB / 1.055 GB, free: 152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001758/2.215, allocations: 0.7454 MB / 1.056 GB, free: 151.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008887/2.215, allocations: 313.6 kB / 1.056 GB, free: 151.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01339/2.229, allocations: 6.115 MB / 1.062 GB, free: 149.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.51e-07/2.229, allocations: 4 kB / 1.062 GB, free: 149.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01434/2.243, allocations: 2.697 MB / 1.065 GB, free: 147.1 MB / 0.6075 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.002263/2.246, allocations: 0.4958 MB / 1.065 GB, free: 146.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0202/2.266, allocations: 10.84 MB / 1.076 GB, free: 137.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 0.0001395/2.266, allocations: 12.44 kB / 1.076 GB, free: 137.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01265/2.279, allocations: 5.519 MB / 1.081 GB, free: 132.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01553/2.294, allocations: 1.502 MB / 1.083 GB, free: 130.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04563/2.34, allocations: 25.43 MB / 1.107 GB, free: 104.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/2.35, allocations: 7.891 MB / 1.115 GB, free: 96.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008328/2.359, allocations: 3.638 MB / 1.119 GB, free: 92.61 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002499/2.361, allocations: 0.6009 MB / 1.119 GB, free: 92.01 MB / 0.6075 GB Notification: Performance of SimCode: time 7.71e-07/2.361, allocations: 0 / 1.119 GB, free: 92.01 MB / 0.6075 GB Notification: Performance of Templates: time 0.1364/2.498, allocations: 98.25 MB / 1.215 GB, free: 9.832 MB / 0.6232 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