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.001445/0.001445, allocations: 101.7 kB / 15.98 MB, free: 6.344 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.001462/0.001463, allocations: 194.2 kB / 16.91 MB, free: 6.184 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.901/1.901, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4341/0.4341, allocations: 43.49 MB / 313.6 MB, free: 8.578 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.001397/0.001397, allocations: 67.89 kB / 382.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1606, allocations: 57.79 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.3367/0.4974, allocations: 19.54 MB / 459.6 MB, free: 37.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.5114, allocations: 4.887 MB / 464.4 MB, free: 37.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006373/0.5178, allocations: 126.9 kB / 464.6 MB, free: 37.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01568/0.5336, allocations: 7.384 MB / 471.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009692/0.5433, allocations: 2.093 MB / 474 MB, free: 33.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00493/0.5482, allocations: 1.17 MB / 475.2 MB, free: 32.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02047/0.5687, allocations: 12.29 MB / 487.5 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05062/0.6194, allocations: 30.15 MB / 0.5055 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.6322, allocations: 6.663 MB / 0.512 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01584/0.6481, allocations: 7.423 MB / 0.5193 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007708/0.6558, allocations: 1.734 MB / 0.521 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/0.669, allocations: 1.926 MB / 0.5229 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01026/0.6793, allocations: 3.73 MB / 0.5265 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02373/0.7031, allocations: 7.11 MB / 0.5334 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03645/0.7396, allocations: 23.53 MB / 0.5564 GB, free: 10.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.7396, allocations: 4 kB / 0.5564 GB, free: 10.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7396, allocations: 0 / 0.5564 GB, free: 10.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008025/0.7404, allocations: 0 / 0.5564 GB, free: 10.83 MB / 430.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.04878/0.7892, allocations: 14.79 MB / 0.5709 GB, free: 11.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/0.7893, allocations: 15.89 kB / 0.5709 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0634/0.8527, allocations: 12.43 MB / 0.583 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01802/0.8708, allocations: 6.57 MB / 0.5894 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001199/0.872, allocations: 0.911 MB / 0.5903 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005662/0.8777, allocations: 1.187 MB / 0.5915 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05734/0.9351, allocations: 19.05 MB / 0.6101 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009642/0.9361, allocations: 23.73 kB / 0.6101 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005472/0.9416, allocations: 0.4921 MB / 0.6106 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007456/0.9424, allocations: 0.6973 MB / 0.6113 GB, free: 2.398 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5319/1.474, allocations: 19.82 MB / 0.6306 GB, free: 115.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1381/1.612, allocations: 62.2 MB / 0.6914 GB, free: 87.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02326/1.636, allocations: 20.18 MB / 0.7111 GB, free: 70.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008774/1.645, allocations: 4.623 MB / 0.7156 GB, free: 68.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/1.646, allocations: 234.8 kB / 0.7158 GB, free: 68.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/1.646, allocations: 111.3 kB / 0.7159 GB, free: 68.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 1.637e-05/1.646, allocations: 0 / 0.7159 GB, free: 68.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.02032/1.666, allocations: 12.54 MB / 0.7282 GB, free: 61.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/1.666, allocations: 127.1 kB / 0.7283 GB, free: 61.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/1.68, allocations: 8.715 MB / 0.7368 GB, free: 55.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00164/1.682, allocations: 137.7 kB / 0.7369 GB, free: 55.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002928/1.685, allocations: 4.606 MB / 0.7414 GB, free: 50.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003097/1.688, allocations: 2.264 MB / 0.7436 GB, free: 48.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003375/1.691, allocations: 1.51 MB / 0.7451 GB, free: 47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.946e-05/1.691, allocations: 305.1 kB / 0.7454 GB, free: 46.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005573/1.697, allocations: 4.196 MB / 0.7495 GB, free: 42.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007997/1.705, allocations: 7.229 MB / 0.7566 GB, free: 33.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01428/1.719, allocations: 12.4 MB / 0.7687 GB, free: 19.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.614e-05/1.719, allocations: 28 kB / 0.7687 GB, free: 19.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02186/1.741, allocations: 12.39 MB / 0.7808 GB, free: 7.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002228/1.742, allocations: 48.94 kB / 0.7809 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002681/1.742, allocations: 100.1 kB / 0.7809 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/1.743, allocations: 424.8 kB / 0.7814 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008333/1.752, allocations: 2.098 MB / 0.7834 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007921/1.76, allocations: 9.615 MB / 0.7928 GB, free: 10.33 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009237/1.769, allocations: 1.396 MB / 0.7942 GB, free: 8.918 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002116/1.771, allocations: 396 kB / 0.7945 GB, free: 8.531 MB / 0.4982 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.009851/1.781, allocations: 4.669 MB / 0.7991 GB, free: 3.848 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002124/1.783, allocations: 0.7136 MB / 0.7998 GB, free: 3.125 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02206/1.805, allocations: 11.05 MB / 0.8106 GB, free: 7.965 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.063e-05/1.805, allocations: 68 kB / 0.8107 GB, free: 7.898 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.502e-05/1.805, allocations: 4 kB / 0.8107 GB, free: 7.895 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/1.805, allocations: 39.86 kB / 0.8107 GB, free: 7.855 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4706/2.276, allocations: 159.2 MB / 0.9661 GB, free: 67.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004215/2.276, allocations: 91.7 kB / 0.9662 GB, free: 67.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006483/2.283, allocations: 1.572 MB / 0.9678 GB, free: 66.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/2.284, allocations: 384.7 kB / 0.9681 GB, free: 65.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001723/2.286, allocations: 248 kB / 0.9684 GB, free: 65.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006173/2.292, allocations: 9.478 MB / 0.9776 GB, free: 55.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-05/2.292, allocations: 135.4 kB / 0.9778 GB, free: 55.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03108/2.323, allocations: 18.84 MB / 0.9962 GB, free: 34.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007009/2.33, allocations: 2.04 MB / 0.9981 GB, free: 32.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004591/2.335, allocations: 250.3 kB / 0.9984 GB, free: 32.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008225/2.343, allocations: 0.558 MB / 0.9989 GB, free: 32.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002275/2.345, allocations: 0.7497 MB / 0.9997 GB, free: 31.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001774/2.347, allocations: 316 kB / 1 GB, free: 31.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01267/2.36, allocations: 6.117 MB / 1.006 GB, free: 24.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.01e-07/2.36, allocations: 0 / 1.006 GB, free: 24.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01463/2.375, allocations: 2.675 MB / 1.009 GB, free: 22.29 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.003811/2.378, allocations: 0.4964 MB / 1.009 GB, free: 21.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.03531/2.414, allocations: 17.43 MB / 1.026 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 0.0001131/2.414, allocations: 12 kB / 1.026 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.3208/2.735, allocations: 5.511 MB / 1.031 GB, free: 159.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01543/2.75, allocations: 1.511 MB / 1.033 GB, free: 159.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05846/2.809, allocations: 29.59 MB / 1.062 GB, free: 146.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02847/2.837, allocations: 7.882 MB / 1.07 GB, free: 144.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.02477/2.862, allocations: 3.643 MB / 1.073 GB, free: 144.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008563/2.871, allocations: 0.5972 MB / 1.074 GB, free: 144.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.814e-06/2.871, allocations: 0 / 1.074 GB, free: 144.2 MB / 0.545 GB Notification: Performance of Templates: time 0.2048/3.076, allocations: 105.2 MB / 1.176 GB, free: 69.64 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","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches