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.00159/0.00159, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.00184/0.00184, allocations: 191 kB / 18 MB, free: 5.207 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.398/1.398, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009894/0.0009894, allocations: 47.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2501, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01423/0.2644, allocations: 13.95 MB / 414.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008685/0.2731, allocations: 3.761 MB / 418.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.2755, allocations: 103.7 kB / 418.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0125/0.288, allocations: 5.563 MB / 424.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005826/0.2939, allocations: 1.511 MB / 425.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.2975, allocations: 1.061 MB / 426.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009125/0.3066, allocations: 6.292 MB / 433 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01855/0.3252, allocations: 13.66 MB / 446.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004366/0.3296, allocations: 3.292 MB / 449.9 MB, free: 7.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00565/0.3353, allocations: 3.847 MB / 453.8 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002326/0.3377, allocations: 0.8867 MB / 454.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/0.3415, allocations: 1.074 MB / 455.7 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002429/0.344, allocations: 1.769 MB / 457.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005333/0.3493, allocations: 3.564 MB / 461.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.3621, allocations: 11.94 MB / 473 MB, free: 332 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3622, allocations: 0 / 473 MB, free: 332 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3622, allocations: 4 kB / 473 MB, free: 328 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004159/0.3626, allocations: 0 / 473 MB, free: 328 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.02279/0.3854, allocations: 7.773 MB / 480.8 MB, free: 8.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3855, allocations: 12.03 kB / 480.8 MB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01934/0.4048, allocations: 2.881 MB / 483.7 MB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007136/0.412, allocations: 3.733 MB / 487.4 MB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/0.4123, allocations: 484.9 kB / 487.9 MB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.4139, allocations: 0.6249 MB / 488.5 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.4312, allocations: 9.314 MB / 497.8 MB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/0.4314, allocations: 7.906 kB / 497.8 MB, free: 7.297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006614/0.432, allocations: 263.9 kB / 498.1 MB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002746/0.4323, allocations: 317.4 kB / 498.4 MB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.4459, allocations: 7.954 MB / 0.4945 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04146/0.4873, allocations: 28.21 MB / 0.522 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.4979, allocations: 11.69 MB / 0.5334 GB, free: 4.297 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/0.5003, allocations: 1.615 MB / 0.535 GB, free: 2.684 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.5005, allocations: 139 kB / 0.5352 GB, free: 2.531 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.5005, allocations: 56.94 kB / 0.5352 GB, free: 2.469 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 3.858e-06/0.5005, allocations: 0 / 0.5352 GB, free: 2.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.2122/0.7127, allocations: 4.166 MB / 0.5393 GB, free: 124.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.7129, allocations: 101.8 kB / 0.5394 GB, free: 124.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002878/0.7158, allocations: 1.908 MB / 0.5412 GB, free: 124.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.7159, allocations: 61.64 kB / 0.5413 GB, free: 124.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009902/0.7169, allocations: 2.543 MB / 0.5438 GB, free: 122.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004714/0.7174, allocations: 0.8081 MB / 0.5446 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007504/0.7181, allocations: 0.6627 MB / 0.5452 GB, free: 121.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.7182, allocations: 301.1 kB / 0.5455 GB, free: 121.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.7198, allocations: 1.411 MB / 0.5469 GB, free: 120.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.7219, allocations: 2.593 MB / 0.5494 GB, free: 118.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/0.7259, allocations: 4.235 MB / 0.5535 GB, free: 115.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/0.7259, allocations: 11.81 kB / 0.5536 GB, free: 115.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005606/0.7315, allocations: 4.512 MB / 0.558 GB, free: 114 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.7316, allocations: 24.75 kB / 0.558 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.967e-05/0.7316, allocations: 39.16 kB / 0.558 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007169/0.7324, allocations: 312.2 kB / 0.5583 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.7348, allocations: 0.7824 MB / 0.5591 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004219/0.739, allocations: 5.039 MB / 0.564 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/0.7415, allocations: 411 kB / 0.5644 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/0.7418, allocations: 167.1 kB / 0.5646 GB, free: 109.6 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.003821/0.7457, allocations: 2.193 MB / 0.5667 GB, free: 107.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003844/0.7461, allocations: 209.4 kB / 0.5669 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/0.7505, allocations: 3.181 MB / 0.57 GB, free: 104.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.7505, allocations: 24 kB / 0.57 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.7505, allocations: 4 kB / 0.57 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.7506, allocations: 11.39 kB / 0.57 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.7636, allocations: 11.74 MB / 0.5815 GB, free: 92.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.7636, allocations: 13 kB / 0.5815 GB, free: 92.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.7651, allocations: 441 kB / 0.5819 GB, free: 92.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005537/0.7657, allocations: 277.5 kB / 0.5822 GB, free: 92.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.7658, allocations: 71.98 kB / 0.5823 GB, free: 92.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/0.7696, allocations: 4.98 MB / 0.5871 GB, free: 86.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.7696, allocations: 19.94 kB / 0.5872 GB, free: 86.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004957/0.7745, allocations: 5.005 MB / 0.5921 GB, free: 81.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006904/0.7752, allocations: 0.5212 MB / 0.5926 GB, free: 81.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.7755, allocations: 63.98 kB / 0.5926 GB, free: 81.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.7767, allocations: 127.9 kB / 0.5927 GB, free: 80.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.777, allocations: 201.3 kB / 0.5929 GB, free: 80.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.7771, allocations: 83.98 kB / 0.593 GB, free: 80.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.7785, allocations: 1.291 MB / 0.5943 GB, free: 79.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.123e-06/0.7785, allocations: 0 / 0.5943 GB, free: 79.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003186/0.7817, allocations: 1.444 MB / 0.5957 GB, free: 77.91 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.0003248/0.782, allocations: 219.8 kB / 0.5959 GB, free: 77.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004201/0.7862, allocations: 3.653 MB / 0.5995 GB, free: 74.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7862, allocations: 4.062 kB / 0.5995 GB, free: 74.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.788, allocations: 1.691 MB / 0.6011 GB, free: 72.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.7905, allocations: 0.5102 MB / 0.6016 GB, free: 71.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.8029, allocations: 9.885 MB / 0.6113 GB, free: 61.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002982/0.806, allocations: 4.008 MB / 0.6152 GB, free: 57.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002613/0.8086, allocations: 1.191 MB / 0.6163 GB, free: 56.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/0.8091, allocations: 187.3 kB / 0.6165 GB, free: 56.29 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.8091, allocations: 4 kB / 0.6165 GB, free: 56.29 MB / 462.1 MB Notification: Performance of Templates: time 0.0407/0.8498, allocations: 31.87 MB / 0.6477 GB, free: 24.59 MB / 462.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/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