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.001255/0.001255, allocations: 115.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.214, allocations: 50.56 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006887/0.2209, allocations: 6.621 MB / 416.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.2244, allocations: 2.258 MB / 418.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.225, allocations: 47.81 kB / 418.9 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007824/0.2258, allocations: 373.5 kB / 419.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.2277, allocations: 0.8472 MB / 420.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.2285, allocations: 370.7 kB / 420.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003162/0.2317, allocations: 3.18 MB / 423.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.2337, allocations: 2.015 MB / 425.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.2351, allocations: 1.297 MB / 426.9 MB, free: 452 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.237, allocations: 1.619 MB / 428.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005082/0.2376, allocations: 299.9 kB / 428.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008769/0.2384, allocations: 431.9 kB / 429.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007436/0.2392, allocations: 0.8529 MB / 430.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.2408, allocations: 1.462 MB / 431.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.2441, allocations: 4.102 MB / 435.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2441, allocations: 0 / 435.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2442, allocations: 4 kB / 435.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.305e-05/0.2442, allocations: 0 / 435.7 MB, free: 7.664 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.007753/0.252, allocations: 3.478 MB / 439.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.252, allocations: 8.031 kB / 439.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/0.2564, allocations: 0.7625 MB / 439.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.2595, allocations: 1.723 MB / 441.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2596, allocations: 169 kB / 441.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/0.2599, allocations: 232.1 kB / 442.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004983/0.2649, allocations: 3.199 MB / 445.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.265, allocations: 0 / 445.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/0.2652, allocations: 96 kB / 445.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.058e-05/0.2653, allocations: 69.98 kB / 445.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0045/0.2698, allocations: 2.862 MB / 448.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.2833, allocations: 9.141 MB / 457.4 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004607/0.2879, allocations: 4.386 MB / 461.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.2891, allocations: 0.8066 MB / 462.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004055/0.2932, allocations: 3.134 MB / 465.8 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.2932, allocations: 55.09 kB / 465.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.455e-06/0.2932, allocations: 4 kB / 465.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.00731/0.3006, allocations: 4.209 MB / 470 MB, free: 3.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.3006, allocations: 115.2 kB / 470.1 MB, free: 3.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.3025, allocations: 1.621 MB / 471.8 MB, free: 2.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/0.3026, allocations: 41.7 kB / 471.8 MB, free: 1.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006676/0.3033, allocations: 1.11 MB / 472.9 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.3035, allocations: 350.9 kB / 473.2 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.3038, allocations: 250.7 kB / 473.5 MB, free: 264 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.304, allocations: 357.9 kB / 473.8 MB, free: 15.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.305, allocations: 0.6349 MB / 474.5 MB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.3063, allocations: 1.019 MB / 475.5 MB, free: 14.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.3086, allocations: 1.693 MB / 477.2 MB, free: 12.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.3086, allocations: 4 kB / 477.2 MB, free: 12.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003073/0.3117, allocations: 1.94 MB / 479.1 MB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3117, allocations: 16 kB / 479.1 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.3117, allocations: 12 kB / 479.2 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.3121, allocations: 121.6 kB / 479.3 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.3133, allocations: 335.5 kB / 479.6 MB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.3162, allocations: 3.43 MB / 483 MB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.3172, allocations: 91.62 kB / 483.1 MB, free: 6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.3174, allocations: 59.98 kB / 483.2 MB, free: 5.941 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.001241/0.3186, allocations: 0.8332 MB / 484 MB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.3189, allocations: 150.1 kB / 484.2 MB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.3215, allocations: 1.401 MB / 485.6 MB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.3215, allocations: 11.97 kB / 485.6 MB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3215, allocations: 192 / 485.6 MB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.3219, allocations: 251.1 kB / 485.8 MB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.3222, allocations: 31.98 kB / 485.9 MB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008778/0.3231, allocations: 87.91 kB / 485.9 MB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.3233, allocations: 100.3 kB / 486 MB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003707/0.327, allocations: 1.954 MB / 488 MB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003293/0.3303, allocations: 2.481 MB / 490.5 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009735/0.3313, allocations: 0.659 MB / 491.1 MB, free: 13.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001469/0.3328, allocations: 1.132 MB / 492.3 MB, free: 12.77 MB / 414.1 MB Notification: Performance of Backend: time 2.4e-07/0.3328, allocations: 0 / 492.3 MB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.3356, allocations: 1.375 MB / 493.6 MB, free: 11.36 MB / 414.1 MB Notification: Performance of SimCode: time 0.006866/0.3424, allocations: 5.042 MB / 498.7 MB, free: 6.258 MB / 414.1 MB Notification: Performance of Templates: time 0.0355/0.378, allocations: 23.39 MB / 0.5098 GB, free: 15.05 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