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.0008162/0.0008163, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.0008433/0.0008433, allocations: 175.3 kB / 18.21 MB, free: 5.68 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.131/1.131, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002004/0.0002003, allocations: 11.94 kB / 302.1 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07067/0.07089, allocations: 50.41 MB / 352.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01071/0.08161, allocations: 12.93 MB / 365.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005739/0.08736, allocations: 3.727 MB / 369.2 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.08876, allocations: 95.75 kB / 369.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.09028, allocations: 0.7854 MB / 370 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.09333, allocations: 1.351 MB / 371.4 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1304/0.2238, allocations: 0.9762 MB / 372.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006505/0.2303, allocations: 6.092 MB / 378.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0174/0.2477, allocations: 14.15 MB / 392.6 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.2504, allocations: 2.336 MB / 394.9 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.2526, allocations: 2.922 MB / 397.9 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003891/0.253, allocations: 379.4 kB / 398.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008656/0.2539, allocations: 0.5538 MB / 398.8 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005671/0.2545, allocations: 1.116 MB / 399.9 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004647/0.2591, allocations: 3.097 MB / 403 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006831/0.266, allocations: 9.988 MB / 413 MB, free: 5.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.266, allocations: 0 / 413 MB, free: 5.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.266, allocations: 0 / 413 MB, free: 5.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.997e-05/0.2661, allocations: 0 / 413 MB, free: 5.184 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.01296/0.2791, allocations: 6.506 MB / 419.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2791, allocations: 8.031 kB / 419.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.2954, allocations: 2.904 MB / 422.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/0.3007, allocations: 3.63 MB / 426 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.301, allocations: 482.9 kB / 426.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008701/0.3019, allocations: 0.6169 MB / 427.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.3151, allocations: 9.315 MB / 436.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.3153, allocations: 7.906 kB / 436.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005789/0.3158, allocations: 261.9 kB / 436.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002401/0.3161, allocations: 329.4 kB / 437 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.327, allocations: 7.954 MB / 445 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03289/0.36, allocations: 28.65 MB / 473.6 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009606/0.3696, allocations: 11.68 MB / 485.3 MB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.3717, allocations: 1.614 MB / 486.9 MB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.3719, allocations: 132.8 kB / 487 MB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.3719, allocations: 67.77 kB / 487.1 MB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 5.561e-06/0.3719, allocations: 3.984 kB / 487.1 MB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.006855/0.3788, allocations: 4.192 MB / 491.3 MB, free: 4.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3788, allocations: 107 kB / 491.4 MB, free: 4.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.3814, allocations: 1.899 MB / 493.3 MB, free: 2.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.3815, allocations: 65.7 kB / 493.4 MB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.3829, allocations: 2.54 MB / 495.9 MB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005548/0.3834, allocations: 0.8134 MB / 496.7 MB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/0.3838, allocations: 281 kB / 497 MB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.3839, allocations: 301.1 kB / 497.3 MB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.3857, allocations: 1.4 MB / 498.7 MB, free: 12.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/0.3883, allocations: 2.594 MB / 0.4895 GB, free: 9.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/0.3926, allocations: 4.23 MB / 0.4937 GB, free: 5.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/0.3926, allocations: 12 kB / 0.4937 GB, free: 5.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005747/0.3984, allocations: 4.522 MB / 0.4981 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.3984, allocations: 20 kB / 0.4981 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/0.3985, allocations: 43.98 kB / 0.4982 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006514/0.3991, allocations: 309.5 kB / 0.4985 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.4014, allocations: 0.7761 MB / 0.4992 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/0.4058, allocations: 4.619 MB / 0.5037 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.4075, allocations: 412 kB / 0.5041 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.4078, allocations: 168 kB / 0.5043 GB, free: 9.918 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 (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.00278/0.4105, allocations: 2.187 MB / 0.5064 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.4109, allocations: 205.4 kB / 0.5066 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004593/0.4154, allocations: 3.185 MB / 0.5097 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.4155, allocations: 24 kB / 0.5097 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.4155, allocations: 11.94 kB / 0.5098 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.4155, allocations: 11.95 kB / 0.5098 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.4299, allocations: 11.78 MB / 0.5213 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/0.4299, allocations: 16 kB / 0.5213 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.4314, allocations: 435.3 kB / 0.5217 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005737/0.432, allocations: 273.5 kB / 0.522 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.4321, allocations: 67.98 kB / 0.522 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004115/0.4362, allocations: 4.57 MB / 0.5265 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/0.4362, allocations: 23.88 kB / 0.5265 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.146/0.5822, allocations: 4.989 MB / 0.5314 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009715/0.5832, allocations: 0.5464 MB / 0.5319 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003599/0.5836, allocations: 63.08 kB / 0.532 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.5849, allocations: 124.8 kB / 0.5321 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.5852, allocations: 203.7 kB / 0.5323 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.5853, allocations: 91.75 kB / 0.5324 GB, free: 137.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00171/0.587, allocations: 1.29 MB / 0.5336 GB, free: 137.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.587, allocations: 0 / 0.5336 GB, free: 137.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003154/0.5902, allocations: 1.43 MB / 0.535 GB, free: 136.9 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.0002935/0.5905, allocations: 223.6 kB / 0.5353 GB, free: 136.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004377/0.5949, allocations: 3.627 MB / 0.5388 GB, free: 135.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5949, allocations: 8.219 kB / 0.5388 GB, free: 135.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.5968, allocations: 1.687 MB / 0.5405 GB, free: 134.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/0.6016, allocations: 0.504 MB / 0.5409 GB, free: 134.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.6132, allocations: 12.5 MB / 0.5532 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002483/0.6157, allocations: 3.9 MB / 0.557 GB, free: 125.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/0.6163, allocations: 221.5 kB / 0.5572 GB, free: 125.7 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6163, allocations: 4 kB / 0.5572 GB, free: 125.7 MB / 446.1 MB Notification: Performance of Templates: time 0.07597/0.6923, allocations: 122.9 MB / 0.6772 GB, free: 12.31 MB / 446.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/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