Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 110.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.88 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2148, allocations: 50.53 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007097/0.222, allocations: 6.644 MB / 416.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.2252, allocations: 2.258 MB / 418.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/0.2257, allocations: 39.88 kB / 418.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007051/0.2264, allocations: 381.4 kB / 419.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.228, allocations: 0.8472 MB / 420.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.2287, allocations: 346.8 kB / 420.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003064/0.2318, allocations: 3.195 MB / 423.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.2338, allocations: 2.003 MB / 425.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.235, allocations: 1.308 MB / 426.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.2367, allocations: 1.611 MB / 428.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000353/0.2371, allocations: 296 kB / 428.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006969/0.2378, allocations: 431.9 kB / 429.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000649/0.2385, allocations: 0.8568 MB / 430.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.2397, allocations: 1.458 MB / 431.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.243, allocations: 4.102 MB / 435.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.243, allocations: 4 kB / 435.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2431, allocations: 0 / 435.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.628e-05/0.2431, allocations: 0 / 435.7 MB, free: 7.727 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.006917/0.25, allocations: 3.486 MB / 439.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2501, allocations: 8.031 kB / 439.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/0.2542, allocations: 0.7586 MB / 439.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.2568, allocations: 1.719 MB / 441.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.257, allocations: 176.9 kB / 441.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.2573, allocations: 240.1 kB / 442.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004893/0.2622, allocations: 3.195 MB / 445.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.2623, allocations: 7.984 kB / 445.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.2625, allocations: 92 kB / 445.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.164e-05/0.2626, allocations: 70 kB / 445.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004373/0.2669, allocations: 2.866 MB / 448.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.2797, allocations: 9.137 MB / 457.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004622/0.2843, allocations: 4.378 MB / 461.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.2855, allocations: 0.8055 MB / 462.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003569/0.2891, allocations: 3.15 MB / 465.8 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2891, allocations: 42.89 kB / 465.8 MB, free: 8.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.435e-06/0.2891, allocations: 0 / 465.8 MB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.007082/0.2962, allocations: 4.214 MB / 470 MB, free: 3.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.2963, allocations: 115.2 kB / 470.1 MB, free: 3.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.2981, allocations: 1.625 MB / 471.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.966e-05/0.2982, allocations: 45.7 kB / 471.8 MB, free: 2.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006654/0.2989, allocations: 1.11 MB / 472.9 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.2991, allocations: 350.9 kB / 473.3 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/0.2995, allocations: 242.7 kB / 473.5 MB, free: 316 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2996, allocations: 357.9 kB / 473.8 MB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009962/0.3006, allocations: 0.6349 MB / 474.5 MB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.3018, allocations: 1.011 MB / 475.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.3041, allocations: 1.697 MB / 477.2 MB, free: 12.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3041, allocations: 4 kB / 477.2 MB, free: 12.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003069/0.3072, allocations: 1.94 MB / 479.1 MB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3072, allocations: 8 kB / 479.1 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.3073, allocations: 12 kB / 479.1 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003478/0.3076, allocations: 133.8 kB / 479.3 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.3089, allocations: 335.5 kB / 479.6 MB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.3117, allocations: 3.426 MB / 483 MB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/0.3126, allocations: 99.69 kB / 483.1 MB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-05/0.3127, allocations: 56.22 kB / 483.2 MB, free: 5.992 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * 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 {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001064/0.3137, allocations: 0.8293 MB / 484 MB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.314, allocations: 154.1 kB / 484.2 MB, free: 5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.3164, allocations: 1.405 MB / 485.6 MB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3164, allocations: 3.984 kB / 485.6 MB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3164, allocations: 0 / 485.6 MB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.3167, allocations: 259.1 kB / 485.8 MB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.3169, allocations: 27.98 kB / 485.9 MB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/0.3178, allocations: 87.91 kB / 485.9 MB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.318, allocations: 100.2 kB / 486 MB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003806/0.3218, allocations: 1.959 MB / 488 MB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003345/0.3251, allocations: 2.473 MB / 490.5 MB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009618/0.3261, allocations: 0.6628 MB / 491.1 MB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00148/0.3276, allocations: 1.135 MB / 492.3 MB, free: 12.81 MB / 414.1 MB Notification: Performance of Backend: time 2.81e-07/0.3276, allocations: 0 / 492.3 MB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.3303, allocations: 1.376 MB / 493.6 MB, free: 11.41 MB / 414.1 MB Notification: Performance of SimCode: time 0.006838/0.3372, allocations: 5.03 MB / 498.7 MB, free: 6.312 MB / 414.1 MB Notification: Performance of Templates: time 0.03622/0.3734, allocations: 23.4 MB / 0.5098 GB, free: 15.1 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches