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.002101/0.002101, allocations: 113.4 kB / 16.41 MB, free: 6.48 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.001912/0.001912, allocations: 190.1 kB / 17.34 MB, free: 5.766 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.434/1.434, 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.2442/0.2442, allocations: 43.52 MB / 314.1 MB, free: 476 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.001458/0.001458, allocations: 67.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1398, allocations: 57.78 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02046/0.1604, allocations: 19.9 MB / 0.5073 GB, free: 7.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1729, allocations: 4.939 MB / 0.5121 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006735/0.1797, allocations: 135.5 kB / 0.5123 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01881/0.1986, allocations: 7.81 MB / 0.5199 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.2095, allocations: 2.309 MB / 0.5221 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004963/0.2145, allocations: 1.267 MB / 0.5234 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3239/0.5384, allocations: 12.37 MB / 0.5355 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04611/0.5846, allocations: 26.13 MB / 0.561 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/0.597, allocations: 6.618 MB / 0.5674 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01459/0.6116, allocations: 7.331 MB / 0.5746 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00625/0.6179, allocations: 1.734 MB / 0.5763 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008716/0.6267, allocations: 1.926 MB / 0.5782 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01212/0.6388, allocations: 4.03 MB / 0.5821 GB, free: 0 / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02018/0.6591, allocations: 7.153 MB / 0.5891 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0345/0.6936, allocations: 23.68 MB / 0.6122 GB, free: 3.789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.6937, allocations: 0 / 0.6122 GB, free: 3.789 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.6937, allocations: 0 / 0.6122 GB, free: 3.789 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009204/0.6946, allocations: 7.281 kB / 0.6122 GB, free: 3.785 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.04919/0.7438, allocations: 14.8 MB / 0.6267 GB, free: 5.008 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.7439, allocations: 15.89 kB / 0.6267 GB, free: 4.992 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06291/0.8068, allocations: 12.42 MB / 0.6388 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01733/0.8242, allocations: 6.614 MB / 0.6453 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001111/0.8253, allocations: 0.9034 MB / 0.6462 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005755/0.8311, allocations: 1.188 MB / 0.6473 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05388/0.885, allocations: 19.04 MB / 0.6659 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005106/0.8856, allocations: 27.5 kB / 0.666 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005068/0.8906, allocations: 0.4901 MB / 0.6664 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000836/0.8915, allocations: 0.6895 MB / 0.6671 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04562/0.9371, allocations: 19.83 MB / 0.6865 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1159/1.053, allocations: 61.51 MB / 0.7465 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5008/1.554, allocations: 20.17 MB / 0.7662 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00881/1.563, allocations: 4.633 MB / 0.7708 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006261/1.563, allocations: 242.5 kB / 0.771 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/1.564, allocations: 111.7 kB / 0.7711 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 8.055e-06/1.564, allocations: 0 / 0.7711 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02739/1.591, allocations: 12.54 MB / 0.7833 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.591, allocations: 120.3 kB / 0.7835 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01832/1.609, allocations: 8.735 MB / 0.792 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001607/1.611, allocations: 132.9 kB / 0.7921 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003514/1.615, allocations: 4.603 MB / 0.7966 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002866/1.618, allocations: 2.266 MB / 0.7988 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002453/1.62, allocations: 1.511 MB / 0.8003 GB, free: 158.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.947e-05/1.62, allocations: 305.1 kB / 0.8006 GB, free: 158.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006039/1.626, allocations: 4.186 MB / 0.8047 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008059/1.634, allocations: 7.236 MB / 0.8117 GB, free: 151.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/1.651, allocations: 12.39 MB / 0.8238 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001654/1.651, allocations: 27.03 kB / 0.8239 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02975/1.681, allocations: 12.41 MB / 0.836 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/1.681, allocations: 52.19 kB / 0.836 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/1.682, allocations: 100 kB / 0.8361 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/1.683, allocations: 421.6 kB / 0.8365 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007658/1.69, allocations: 2.097 MB / 0.8386 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005642/1.696, allocations: 9.601 MB / 0.848 GB, free: 126.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00767/1.704, allocations: 1.4 MB / 0.8493 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0019/1.706, allocations: 395.8 kB / 0.8497 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.009572/1.715, allocations: 4.661 MB / 0.8543 GB, free: 121.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002084/1.717, allocations: 0.7175 MB / 0.855 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01928/1.737, allocations: 11.04 MB / 0.8657 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-05/1.737, allocations: 72 kB / 0.8658 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.19e-05/1.737, allocations: 4.625 kB / 0.8658 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.666e-05/1.737, allocations: 31.88 kB / 0.8658 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4943/2.231, allocations: 159 MB / 1.021 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001452/2.231, allocations: 92.95 kB / 1.021 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004953/2.236, allocations: 1.57 MB / 1.023 GB, free: 173.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009164/2.237, allocations: 382.1 kB / 1.023 GB, free: 173.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005493/2.238, allocations: 256.9 kB / 1.023 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00489/2.243, allocations: 9.466 MB / 1.033 GB, free: 164.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-05/2.243, allocations: 140.9 kB / 1.033 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/2.262, allocations: 18.84 MB / 1.051 GB, free: 153.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004807/2.267, allocations: 2.046 MB / 1.053 GB, free: 152.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/2.268, allocations: 249.5 kB / 1.053 GB, free: 152.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004855/2.273, allocations: 0.5588 MB / 1.054 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001093/2.274, allocations: 0.7549 MB / 1.055 GB, free: 152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004988/2.275, allocations: 313.4 kB / 1.055 GB, free: 152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00962/2.285, allocations: 6.122 MB / 1.061 GB, free: 149.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.91e-07/2.285, allocations: 0 / 1.061 GB, free: 149.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01129/2.296, allocations: 2.675 MB / 1.064 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.001548/2.297, allocations: 0.4914 MB / 1.064 GB, free: 146.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01715/2.315, allocations: 10.84 MB / 1.075 GB, free: 137.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.332e-05/2.315, allocations: 16 kB / 1.075 GB, free: 137.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00757/2.322, allocations: 5.508 MB / 1.08 GB, free: 132.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/2.333, allocations: 1.508 MB / 1.082 GB, free: 130.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03997/2.373, allocations: 25.13 MB / 1.106 GB, free: 104.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007391/2.38, allocations: 7.876 MB / 1.114 GB, free: 96.61 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0076/2.388, allocations: 3.646 MB / 1.117 GB, free: 92.95 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/2.39, allocations: 0.597 MB / 1.118 GB, free: 92.35 MB / 0.6075 GB Notification: Performance of SimCode: time 7.21e-07/2.39, allocations: 0 / 1.118 GB, free: 92.35 MB / 0.6075 GB Notification: Performance of Templates: time 0.1515/2.541, allocations: 98.26 MB / 1.214 GB, free: 10.17 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