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.001147/0.001147, allocations: 113 kB / 17.08 MB, free: 6.016 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.001189/0.001189, allocations: 199 kB / 18.01 MB, free: 5.094 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.417/1.417, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2153/0.2153, allocations: 43.52 MB / 314.8 MB, free: 472 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.001435/0.001435, allocations: 67.84 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01912/0.1354, allocations: 19.89 MB / 0.508 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.1472, allocations: 4.939 MB / 0.5128 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004428/0.1516, allocations: 135.6 kB / 0.5129 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01636/0.1681, allocations: 7.783 MB / 0.5205 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008326/0.1764, allocations: 2.293 MB / 0.5228 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.1803, allocations: 1.269 MB / 0.524 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2876/0.4679, allocations: 12.36 MB / 0.5361 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03964/0.5076, allocations: 26.16 MB / 0.5616 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01175/0.5194, allocations: 6.591 MB / 0.568 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01389/0.5333, allocations: 7.325 MB / 0.5752 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006523/0.5398, allocations: 1.734 MB / 0.5769 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008326/0.5482, allocations: 1.928 MB / 0.5788 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01123/0.5595, allocations: 4.019 MB / 0.5827 GB, free: 0 / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01514/0.5747, allocations: 7.155 MB / 0.5897 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02768/0.6024, allocations: 23.67 MB / 0.6128 GB, free: 3.844 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.6024, allocations: 4 kB / 0.6128 GB, free: 3.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6025, allocations: 0 / 0.6128 GB, free: 3.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007784/0.6032, allocations: 0 / 0.6128 GB, free: 3.84 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.04387/0.6471, allocations: 14.8 MB / 0.6273 GB, free: 5.066 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6472, allocations: 11.89 kB / 0.6273 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06608/0.7133, allocations: 12.43 MB / 0.6394 GB, free: 8.742 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.7287, allocations: 6.61 MB / 0.6459 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001467/0.7302, allocations: 0.9039 MB / 0.6467 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005971/0.7362, allocations: 1.185 MB / 0.6479 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04826/0.7845, allocations: 19.05 MB / 0.6665 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004435/0.785, allocations: 23.8 kB / 0.6665 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004043/0.7891, allocations: 0.5048 MB / 0.667 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007214/0.7898, allocations: 0.6817 MB / 0.6677 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04149/0.8313, allocations: 19.83 MB / 0.6871 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1112/0.9425, allocations: 61.51 MB / 0.7471 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4889/1.431, allocations: 20.18 MB / 0.7668 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008397/1.44, allocations: 4.635 MB / 0.7714 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/1.441, allocations: 238.4 kB / 0.7716 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.773e-05/1.441, allocations: 109.4 kB / 0.7717 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 9.798e-06/1.441, allocations: 1.188 kB / 0.7717 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02413/1.465, allocations: 12.54 MB / 0.7839 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/1.465, allocations: 121.3 kB / 0.784 GB, free: 167 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0143/1.479, allocations: 8.728 MB / 0.7926 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001271/1.481, allocations: 133.6 kB / 0.7927 GB, free: 164.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003252/1.484, allocations: 4.607 MB / 0.7972 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002603/1.486, allocations: 2.266 MB / 0.7994 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00284/1.489, allocations: 1.512 MB / 0.8009 GB, free: 158.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/1.489, allocations: 301.1 kB / 0.8012 GB, free: 158.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006154/1.496, allocations: 4.193 MB / 0.8053 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007188/1.503, allocations: 7.233 MB / 0.8123 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/1.516, allocations: 12.39 MB / 0.8244 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/1.517, allocations: 31 kB / 0.8245 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02248/1.539, allocations: 12.4 MB / 0.8366 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/1.539, allocations: 51.75 kB / 0.8366 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002164/1.54, allocations: 96 kB / 0.8367 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/1.541, allocations: 425.8 kB / 0.8371 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007634/1.548, allocations: 2.094 MB / 0.8392 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0063/1.555, allocations: 9.597 MB / 0.8485 GB, free: 126.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008463/1.563, allocations: 1.396 MB / 0.8499 GB, free: 125.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001727/1.565, allocations: 401.9 kB / 0.8503 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.008531/1.573, allocations: 4.664 MB / 0.8548 GB, free: 121.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.575, allocations: 0.7151 MB / 0.8555 GB, free: 120.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/1.59, allocations: 11.05 MB / 0.8663 GB, free: 109.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-05/1.59, allocations: 68 kB / 0.8664 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/1.59, allocations: 4 kB / 0.8664 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.428e-05/1.59, allocations: 35.86 kB / 0.8664 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4495/2.04, allocations: 159 MB / 1.022 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002712/2.04, allocations: 92.05 kB / 1.022 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005899/2.046, allocations: 1.576 MB / 1.023 GB, free: 172.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008508/2.047, allocations: 382.5 kB / 1.024 GB, free: 172.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001108/2.048, allocations: 256.6 kB / 1.024 GB, free: 172.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005294/2.053, allocations: 9.459 MB / 1.033 GB, free: 164.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.083e-05/2.053, allocations: 138.5 kB / 1.033 GB, free: 164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0213/2.075, allocations: 18.85 MB / 1.052 GB, free: 152.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005019/2.08, allocations: 2.042 MB / 1.054 GB, free: 152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001959/2.082, allocations: 246.5 kB / 1.054 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005403/2.087, allocations: 0.5645 MB / 1.055 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/2.088, allocations: 0.7463 MB / 1.055 GB, free: 151.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005174/2.089, allocations: 312.4 kB / 1.056 GB, free: 151.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009377/2.098, allocations: 6.121 MB / 1.062 GB, free: 149.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/2.098, allocations: 0 / 1.062 GB, free: 149.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01033/2.108, allocations: 2.682 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.001838/2.11, allocations: 0.4938 MB / 1.065 GB, free: 146.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01641/2.127, allocations: 10.83 MB / 1.075 GB, free: 137.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.176e-05/2.127, allocations: 12 kB / 1.075 GB, free: 137.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0085/2.135, allocations: 5.506 MB / 1.081 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.01109/2.146, allocations: 1.515 MB / 1.082 GB, free: 131 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03596/2.182, allocations: 24.74 MB / 1.106 GB, free: 105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008162/2.191, allocations: 7.624 MB / 1.114 GB, free: 97.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003076/2.194, allocations: 0.6517 MB / 1.114 GB, free: 96.66 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/2.194, allocations: 0 / 1.114 GB, free: 96.66 MB / 0.6075 GB Notification: Performance of Templates: time 1.023/3.217, allocations: 0.5425 GB / 1.657 GB, free: 42.62 MB / 0.6388 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/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