Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 111 kB / 17.74 MB, free: 5.34 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.001575/0.001576, allocations: 196.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2745, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01481/0.2894, allocations: 13.94 MB / 415.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00819/0.2976, allocations: 3.765 MB / 419.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.3002, allocations: 95.75 kB / 419.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01648/0.3168, allocations: 5.564 MB / 424.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007455/0.3243, allocations: 1.515 MB / 426.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004471/0.3288, allocations: 1.073 MB / 427.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.3407, allocations: 6.288 MB / 433.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02879/0.3695, allocations: 13.65 MB / 447.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006131/0.3757, allocations: 3.288 MB / 450.6 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007459/0.3832, allocations: 3.847 MB / 454.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003156/0.3864, allocations: 0.8906 MB / 455.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00457/0.391, allocations: 1.07 MB / 456.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003811/0.3948, allocations: 1.765 MB / 458.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007695/0.4026, allocations: 3.564 MB / 461.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.4184, allocations: 11.95 MB / 473.7 MB, free: 316 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.4185, allocations: 0 / 473.7 MB, free: 316 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4185, allocations: 0 / 473.7 MB, free: 316 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003907/0.4189, allocations: 0 / 473.7 MB, free: 316 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02478/0.4437, allocations: 7.773 MB / 481.5 MB, free: 8.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.4438, allocations: 12.03 kB / 481.5 MB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02013/0.4639, allocations: 2.893 MB / 484.4 MB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007733/0.4717, allocations: 3.729 MB / 488.1 MB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004813/0.4722, allocations: 481 kB / 488.6 MB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002106/0.4743, allocations: 0.621 MB / 489.2 MB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02262/0.4969, allocations: 9.318 MB / 498.5 MB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002532/0.4972, allocations: 7.906 kB / 498.5 MB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001698/0.4989, allocations: 263.9 kB / 498.8 MB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003472/0.4993, allocations: 321.4 kB / 499.1 MB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/0.5162, allocations: 7.954 MB / 0.4951 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04816/0.5644, allocations: 28.2 MB / 0.5227 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/0.576, allocations: 11.71 MB / 0.5341 GB, free: 4.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/0.5786, allocations: 1.615 MB / 0.5357 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.5788, allocations: 135 kB / 0.5358 GB, free: 2.504 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.394e-05/0.5789, allocations: 56.56 kB / 0.5359 GB, free: 2.441 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.448e-06/0.5789, allocations: 0 / 0.5359 GB, free: 2.441 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.222/0.8009, allocations: 4.163 MB / 0.5399 GB, free: 124.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.8011, allocations: 105.1 kB / 0.54 GB, free: 124.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.8042, allocations: 1.908 MB / 0.5419 GB, free: 124.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003881/0.8046, allocations: 65.58 kB / 0.542 GB, free: 124.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.8062, allocations: 2.536 MB / 0.5445 GB, free: 122.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007064/0.8069, allocations: 0.8121 MB / 0.5452 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009296/0.8078, allocations: 0.6661 MB / 0.5459 GB, free: 121.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.8079, allocations: 309 kB / 0.5462 GB, free: 121.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.8095, allocations: 1.402 MB / 0.5476 GB, free: 120.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.8116, allocations: 2.59 MB / 0.5501 GB, free: 118.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/0.8155, allocations: 4.238 MB / 0.5542 GB, free: 115.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-05/0.8155, allocations: 11.72 kB / 0.5542 GB, free: 115.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005666/0.8212, allocations: 4.518 MB / 0.5586 GB, free: 114 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.8213, allocations: 19.75 kB / 0.5587 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.068e-05/0.8213, allocations: 40.69 kB / 0.5587 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007436/0.8221, allocations: 306 kB / 0.559 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/0.8245, allocations: 0.7787 MB / 0.5598 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/0.8287, allocations: 5.035 MB / 0.5647 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.8309, allocations: 414.4 kB / 0.5651 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.8312, allocations: 160.4 kB / 0.5652 GB, free: 109.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002891/0.8341, allocations: 2.195 MB / 0.5674 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.8344, allocations: 205.4 kB / 0.5676 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004198/0.8386, allocations: 3.18 MB / 0.5707 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.8387, allocations: 24 kB / 0.5707 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.8387, allocations: 7.625 kB / 0.5707 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.8387, allocations: 14.97 kB / 0.5707 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.852, allocations: 11.75 MB / 0.5822 GB, free: 92.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.852, allocations: 16 kB / 0.5822 GB, free: 92.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.8535, allocations: 439.3 kB / 0.5826 GB, free: 92.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005839/0.8541, allocations: 278 kB / 0.5829 GB, free: 92.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.8543, allocations: 63.98 kB / 0.5829 GB, free: 92.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/0.858, allocations: 4.98 MB / 0.5878 GB, free: 86.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/0.8581, allocations: 24 kB / 0.5878 GB, free: 86.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005278/0.8634, allocations: 4.997 MB / 0.5927 GB, free: 81.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008993/0.8643, allocations: 0.533 MB / 0.5932 GB, free: 81.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003961/0.8647, allocations: 63.98 kB / 0.5933 GB, free: 80.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.8661, allocations: 119.9 kB / 0.5934 GB, free: 80.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/0.8665, allocations: 201.3 kB / 0.5936 GB, free: 80.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.8666, allocations: 87.98 kB / 0.5937 GB, free: 80.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001898/0.8685, allocations: 1.294 MB / 0.5949 GB, free: 79.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.733e-06/0.8685, allocations: 0 / 0.5949 GB, free: 79.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003829/0.8724, allocations: 1.436 MB / 0.5964 GB, free: 77.83 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004683/0.8728, allocations: 221.3 kB / 0.5966 GB, free: 77.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004974/0.8778, allocations: 3.657 MB / 0.6001 GB, free: 73.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/0.8778, allocations: 4 kB / 0.6001 GB, free: 73.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002098/0.88, allocations: 1.695 MB / 0.6018 GB, free: 72.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/0.8832, allocations: 0.5136 MB / 0.6023 GB, free: 71.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/0.9005, allocations: 9.75 MB / 0.6118 GB, free: 61.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004601/0.9051, allocations: 3.897 MB / 0.6156 GB, free: 57.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009534/0.9061, allocations: 223.4 kB / 0.6158 GB, free: 57.61 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.9061, allocations: 0 / 0.6158 GB, free: 57.61 MB / 462.1 MB Notification: Performance of Templates: time 0.3246/1.231, allocations: 124.1 MB / 0.737 GB, free: 175.4 MB / 0.5137 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches