Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 111.2 kB / 18.41 MB, free: 4.688 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.001758/0.001758, allocations: 191.3 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 48.36 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07742/0.07872, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.1686/0.2473, allocations: 14.61 MB / 390.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007879/0.2553, allocations: 3.944 MB / 394.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.2574, allocations: 87.78 kB / 394.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01154/0.269, allocations: 5.613 MB / 400.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.275, allocations: 1.756 MB / 401.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.2778, allocations: 1.087 MB / 402.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007504/0.2853, allocations: 6.747 MB / 409.7 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01534/0.3007, allocations: 13.75 MB / 423.4 MB, free: 8 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.3049, allocations: 3.498 MB / 426.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004326/0.3093, allocations: 4.115 MB / 431 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.3105, allocations: 0.9219 MB / 432 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.3125, allocations: 1.101 MB / 433.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.314, allocations: 1.921 MB / 435 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003864/0.3179, allocations: 3.801 MB / 438.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.3297, allocations: 12.42 MB / 451.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3298, allocations: 0 / 451.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3298, allocations: 0 / 451.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002239/0.33, allocations: 4 kB / 451.2 MB, free: 4.145 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.0194/0.3494, allocations: 8.434 MB / 459.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3495, allocations: 8.031 kB / 459.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03128/0.3808, allocations: 5.111 MB / 464.8 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006965/0.3877, allocations: 3.555 MB / 468.3 MB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004892/0.3883, allocations: 0.5058 MB / 468.8 MB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00201/0.3903, allocations: 0.6718 MB / 469.5 MB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02183/0.4121, allocations: 10.47 MB / 480 MB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/0.4123, allocations: 11.89 kB / 480 MB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/0.4135, allocations: 291.9 kB / 480.3 MB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003552/0.4138, allocations: 382.6 kB / 480.6 MB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.431, allocations: 9.633 MB / 490.3 MB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04473/0.4757, allocations: 31.59 MB / 0.5096 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01812/0.4939, allocations: 22.92 MB / 0.532 GB, free: 1.723 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/0.4968, allocations: 1.945 MB / 0.5339 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009672/0.5064, allocations: 6.236 MB / 0.54 GB, free: 9.207 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.5065, allocations: 52 kB / 0.54 GB, free: 9.148 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 3.276e-06/0.5065, allocations: 4 kB / 0.54 GB, free: 9.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=150): time 0.006339/0.5129, allocations: 3.186 MB / 0.5432 GB, free: 5.906 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.5129, allocations: 94.55 kB / 0.5432 GB, free: 5.793 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00369/0.5166, allocations: 2.62 MB / 0.5458 GB, free: 3.141 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/0.5167, allocations: 49.7 kB / 0.5459 GB, free: 3.086 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2003/0.717, allocations: 3.237 MB / 0.549 GB, free: 145.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005647/0.7176, allocations: 0.5724 MB / 0.5496 GB, free: 145.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/0.7188, allocations: 0.8013 MB / 0.5504 GB, free: 145.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.232e-05/0.7188, allocations: 309.7 kB / 0.5507 GB, free: 145.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.721, allocations: 1.463 MB / 0.5521 GB, free: 145.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.7236, allocations: 3.262 MB / 0.5553 GB, free: 142.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004355/0.728, allocations: 4.819 MB / 0.56 GB, free: 139.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.468e-05/0.728, allocations: 18.75 kB / 0.56 GB, free: 139.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006988/0.735, allocations: 5.099 MB / 0.565 GB, free: 137.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.7351, allocations: 31.94 kB / 0.565 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.925e-05/0.7352, allocations: 59.84 kB / 0.5651 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007701/0.7359, allocations: 347.9 kB / 0.5654 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/0.7387, allocations: 0.8816 MB / 0.5663 GB, free: 137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/0.7431, allocations: 5.064 MB / 0.5712 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/0.7459, allocations: 0.5593 MB / 0.5717 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003033/0.7462, allocations: 212.2 kB / 0.5719 GB, free: 132.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.003311/0.7495, allocations: 2.327 MB / 0.5742 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/0.7499, allocations: 230.4 kB / 0.5744 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003521/0.7534, allocations: 2.324 MB / 0.5767 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.7534, allocations: 12.55 kB / 0.5767 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7534, allocations: 4 kB / 0.5767 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/0.7541, allocations: 475.3 kB / 0.5772 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.7543, allocations: 32.62 kB / 0.5772 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009811/0.7553, allocations: 92.88 kB / 0.5773 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.7555, allocations: 109.4 kB / 0.5774 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003401/0.7589, allocations: 2.171 MB / 0.5795 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003291/0.7622, allocations: 2.832 MB / 0.5823 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008876/0.7631, allocations: 0.762 MB / 0.583 GB, free: 127.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001917/0.765, allocations: 1.713 MB / 0.5847 GB, free: 127.3 MB / 478.1 MB Notification: Performance of Backend: time 3.41e-07/0.765, allocations: 3.172 kB / 0.5847 GB, free: 127.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004372/0.7694, allocations: 3.026 MB / 0.5877 GB, free: 126 MB / 478.1 MB Notification: Performance of SimCode: time 0.01297/0.7824, allocations: 10.19 MB / 0.5976 GB, free: 119.7 MB / 478.1 MB Notification: Performance of Templates: time 0.0636/0.8461, allocations: 40.97 MB / 0.6376 GB, free: 80.32 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches