Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 121 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001232, allocations: 212.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.12 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1047, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.2422/0.347, allocations: 13.92 MB / 372.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007715/0.3548, allocations: 3.847 MB / 376.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.3582, allocations: 101.1 kB / 376.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.3705, allocations: 5.564 MB / 382.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006149/0.3767, allocations: 1.347 MB / 383.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003784/0.3805, allocations: 1.204 MB / 384.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.3907, allocations: 6.378 MB / 391.3 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01991/0.4106, allocations: 13.81 MB / 405.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005676/0.4163, allocations: 3.279 MB / 408.4 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006485/0.4229, allocations: 3.849 MB / 412.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002175/0.4251, allocations: 0.8867 MB / 413.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.4286, allocations: 1.087 MB / 414.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.4309, allocations: 1.767 MB / 416 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006371/0.4372, allocations: 3.573 MB / 419.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.4497, allocations: 11.96 MB / 431.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4497, allocations: 0 / 431.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4497, allocations: 3.938 kB / 431.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002614/0.45, allocations: 0 / 431.5 MB, free: 2.762 MB / 334.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.02078/0.4708, allocations: 7.773 MB / 439.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4709, allocations: 8.031 kB / 439.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01918/0.49, allocations: 2.913 MB / 442.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008913/0.499, allocations: 3.74 MB / 445.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/0.4993, allocations: 481 kB / 446.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/0.5009, allocations: 0.6249 MB / 447 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01709/0.518, allocations: 9.318 MB / 456.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/0.5182, allocations: 7.906 kB / 456.4 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006057/0.5188, allocations: 263.9 kB / 456.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002696/0.5191, allocations: 313.4 kB / 456.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.5343, allocations: 7.95 MB / 464.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04775/0.5821, allocations: 28.69 MB / 493.6 MB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.5927, allocations: 11.7 MB / 0.4934 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/0.5952, allocations: 1.607 MB / 0.495 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.5955, allocations: 224.1 kB / 0.4952 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.5955, allocations: 64.88 kB / 0.4953 GB, free: 4.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 4.538e-06/0.5956, allocations: 0 / 0.4953 GB, free: 4.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007657/0.6032, allocations: 4.166 MB / 0.4993 GB, free: 15.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.6033, allocations: 107.1 kB / 0.4994 GB, free: 15.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.6061, allocations: 1.899 MB / 0.5013 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.6062, allocations: 65.7 kB / 0.5013 GB, free: 13.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001816/0.608, allocations: 2.543 MB / 0.5038 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007317/0.6088, allocations: 0.8088 MB / 0.5046 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009462/0.6097, allocations: 0.6598 MB / 0.5053 GB, free: 9.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6098, allocations: 301.1 kB / 0.5056 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.6118, allocations: 1.4 MB / 0.5069 GB, free: 8.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002762/0.6146, allocations: 2.599 MB / 0.5095 GB, free: 4.961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0048/0.6194, allocations: 4.234 MB / 0.5136 GB, free: 192 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/0.6194, allocations: 19.94 kB / 0.5136 GB, free: 172 kB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00675/0.6262, allocations: 4.51 MB / 0.518 GB, free: 11.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.6262, allocations: 20 kB / 0.518 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.461e-05/0.6263, allocations: 40.69 kB / 0.5181 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007744/0.6271, allocations: 313.5 kB / 0.5184 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/0.6297, allocations: 0.7761 MB / 0.5191 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/0.6351, allocations: 5.057 MB / 0.5241 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.6373, allocations: 408 kB / 0.5245 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/0.6376, allocations: 168 kB / 0.5246 GB, free: 4.609 MB / 446.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.00344/0.6411, allocations: 2.191 MB / 0.5268 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/0.6414, allocations: 205.5 kB / 0.527 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2088/0.8503, allocations: 3.171 MB / 0.5301 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/0.8503, allocations: 24.06 kB / 0.5301 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.8504, allocations: 7.859 kB / 0.5301 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.336e-05/0.8504, allocations: 11.98 kB / 0.5301 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/0.8702, allocations: 12.63 MB / 0.5424 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/0.8702, allocations: 18.36 kB / 0.5424 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/0.8719, allocations: 439.8 kB / 0.5429 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006973/0.8726, allocations: 277.2 kB / 0.5431 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.8727, allocations: 70.31 kB / 0.5432 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00427/0.877, allocations: 4.981 MB / 0.5481 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.488e-05/0.8771, allocations: 19.22 kB / 0.5481 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/0.8831, allocations: 4.997 MB / 0.553 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.8843, allocations: 0.5295 MB / 0.5535 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.8845, allocations: 67.64 kB / 0.5535 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.8857, allocations: 121.2 kB / 0.5537 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.886, allocations: 204.2 kB / 0.5539 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.8862, allocations: 87.08 kB / 0.5539 GB, free: 122.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001458/0.8876, allocations: 1.293 MB / 0.5552 GB, free: 122.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8876, allocations: 0 / 0.5552 GB, free: 122.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003407/0.891, allocations: 1.426 MB / 0.5566 GB, free: 121.8 MB / 446.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.0004119/0.8915, allocations: 231.8 kB / 0.5568 GB, free: 121.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004708/0.8962, allocations: 3.655 MB / 0.5604 GB, free: 120.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/0.8962, allocations: 0.8125 kB / 0.5604 GB, free: 120.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.8981, allocations: 1.693 MB / 0.562 GB, free: 119.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.9005, allocations: 0.5195 MB / 0.5625 GB, free: 119.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.9141, allocations: 9.888 MB / 0.5722 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003088/0.9173, allocations: 4 MB / 0.5761 GB, free: 111.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002715/0.92, allocations: 1.195 MB / 0.5773 GB, free: 110.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.9205, allocations: 191.4 kB / 0.5775 GB, free: 110.4 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.9205, allocations: 0 / 0.5775 GB, free: 110.4 MB / 446.1 MB Notification: Performance of Templates: time 0.04667/0.9672, allocations: 30.84 MB / 0.6076 GB, free: 79.77 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches