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.001088/0.001088, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002013/0.0002014, allocations: 4 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0876/0.08782, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01009/0.09796, allocations: 11.11 MB / 369.2 MB, free: 2.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1581/0.2561, allocations: 3.637 MB / 372.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.2579, allocations: 86.72 kB / 372.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.2596, allocations: 0.5758 MB / 373.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004675/0.2643, allocations: 1.179 MB / 374.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.2672, allocations: 0.9604 MB / 375.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01208/0.2793, allocations: 7.218 MB / 382.8 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01989/0.2992, allocations: 11.96 MB / 394.8 MB, free: 5.402 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003585/0.3028, allocations: 2.123 MB / 396.9 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004067/0.3069, allocations: 2.595 MB / 399.5 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006915/0.3076, allocations: 385.2 kB / 399.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.3095, allocations: 0.5347 MB / 400.4 MB, free: 1.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006819/0.3102, allocations: 1.075 MB / 401.5 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.3117, allocations: 1.195 MB / 402.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.3219, allocations: 9.979 MB / 412.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3219, allocations: 0 / 412.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3219, allocations: 4 kB / 412.7 MB, free: 5.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003475/0.3223, allocations: 0 / 412.7 MB, free: 5.719 MB / 318.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.01799/0.3403, allocations: 6.563 MB / 419.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.3403, allocations: 8.031 kB / 419.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02011/0.3604, allocations: 2.939 MB / 422.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007967/0.3685, allocations: 3.57 MB / 425.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003722/0.3689, allocations: 480.9 kB / 426.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/0.3704, allocations: 0.621 MB / 426.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/0.3877, allocations: 9.224 MB / 436.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.3879, allocations: 7.906 kB / 436.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006138/0.3885, allocations: 263.9 kB / 436.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002999/0.3888, allocations: 325.4 kB / 436.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/0.4029, allocations: 7.899 MB / 444.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04347/0.4464, allocations: 29.11 MB / 473.7 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.4573, allocations: 11.67 MB / 485.3 MB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000369/0.4577, allocations: 220.5 kB / 485.6 MB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.4578, allocations: 60.5 kB / 485.6 MB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 4.589e-06/0.4578, allocations: 0 / 485.6 MB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.00772/0.4655, allocations: 4.141 MB / 489.8 MB, free: 5.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.4656, allocations: 107.1 kB / 489.9 MB, free: 5.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.4683, allocations: 1.883 MB / 491.7 MB, free: 3.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.4684, allocations: 65.64 kB / 491.8 MB, free: 3.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.47, allocations: 2.547 MB / 494.4 MB, free: 1.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006556/0.4706, allocations: 0.8049 MB / 495.2 MB, free: 240 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.4708, allocations: 72 kB / 495.2 MB, free: 168 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.471, allocations: 452.1 kB / 495.7 MB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.473, allocations: 1.393 MB / 497.1 MB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002632/0.4757, allocations: 2.576 MB / 499.6 MB, free: 11.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.4783, allocations: 1.994 MB / 0.4899 GB, free: 9.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/0.4783, allocations: 12 kB / 0.4899 GB, free: 9.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006522/0.4848, allocations: 4.499 MB / 0.4943 GB, free: 4.695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.4849, allocations: 20 kB / 0.4943 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.292e-05/0.485, allocations: 40 kB / 0.4943 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007784/0.4857, allocations: 321.5 kB / 0.4946 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/0.4886, allocations: 0.7683 MB / 0.4954 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/0.4937, allocations: 4.695 MB / 0.5 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/0.4962, allocations: 412 kB / 0.5004 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005458/0.4968, allocations: 160 kB / 0.5005 GB, free: 14.03 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004109/0.5009, allocations: 2.187 MB / 0.5027 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/0.5014, allocations: 209.4 kB / 0.5029 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005621/0.507, allocations: 3.189 MB / 0.506 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.5071, allocations: 24 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/0.5071, allocations: 7.938 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.5071, allocations: 11.95 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/0.5271, allocations: 12.5 MB / 0.5182 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.913e-05/0.5272, allocations: 15.98 kB / 0.5182 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.529, allocations: 431.3 kB / 0.5187 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007062/0.5297, allocations: 274.2 kB / 0.5189 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/0.5299, allocations: 67.98 kB / 0.519 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004915/0.5349, allocations: 4.632 MB / 0.5235 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-05/0.5349, allocations: 23.88 kB / 0.5235 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.189/0.7239, allocations: 5.808 MB / 0.5292 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.7252, allocations: 0.5363 MB / 0.5297 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.7255, allocations: 61.17 kB / 0.5298 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.7268, allocations: 125.2 kB / 0.5299 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/0.7271, allocations: 199.7 kB / 0.5301 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/0.7273, allocations: 85.64 kB / 0.5302 GB, free: 120.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.7291, allocations: 1.277 MB / 0.5314 GB, free: 120 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7291, allocations: 3 kB / 0.5314 GB, free: 120 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003499/0.7326, allocations: 1.433 MB / 0.5328 GB, free: 119.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (224): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003717/0.733, allocations: 218.1 kB / 0.533 GB, free: 119.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005071/0.7381, allocations: 3.616 MB / 0.5366 GB, free: 119.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.7381, allocations: 2.406 kB / 0.5366 GB, free: 119.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.7404, allocations: 1.684 MB / 0.5382 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.7428, allocations: 461 kB / 0.5386 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.7584, allocations: 12.04 MB / 0.5504 GB, free: 113.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003186/0.7616, allocations: 4.096 MB / 0.5544 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003116/0.7647, allocations: 1.198 MB / 0.5556 GB, free: 112.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.7652, allocations: 188.4 kB / 0.5558 GB, free: 112.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.903e-06/0.7652, allocations: 0 / 0.5558 GB, free: 112.7 MB / 446.1 MB Notification: Performance of Templates: time 0.04113/0.8064, allocations: 28.83 MB / 0.5839 GB, free: 93.81 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches