Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 110.6 kB / 17.73 MB, free: 5.344 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.001044/0.001044, allocations: 190.9 kB / 18.66 MB, free: 4.418 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.405/1.405, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001351/0.001351, allocations: 51.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.0872, allocations: 46.63 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1612/0.2485, allocations: 4.597 MB / 379.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.2519, allocations: 1.736 MB / 381.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.2523, allocations: 24.38 kB / 381.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.2528, allocations: 263.5 kB / 381.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.2542, allocations: 0.6928 MB / 382.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.2547, allocations: 237.9 kB / 382.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.2567, allocations: 1.888 MB / 384.6 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.2578, allocations: 1.258 MB / 385.8 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008455/0.2587, allocations: 0.793 MB / 386.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.2598, allocations: 0.9776 MB / 387.6 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.2601, allocations: 186.3 kB / 387.8 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006078/0.2607, allocations: 313.3 kB / 388.1 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000402/0.2611, allocations: 0.5281 MB / 388.6 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008354/0.2619, allocations: 0.8969 MB / 389.5 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.2645, allocations: 2.563 MB / 392.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.2646, allocations: 1.125 kB / 392.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2646, allocations: 0 / 392.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.518e-05/0.2646, allocations: 0 / 392.1 MB, free: 5.828 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004844/0.2695, allocations: 2.174 MB / 394.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2695, allocations: 9.922 kB / 394.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.2714, allocations: 369.6 kB / 394.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.2731, allocations: 1.046 MB / 395.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.483e-05/0.2732, allocations: 103.1 kB / 395.8 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.2734, allocations: 140.8 kB / 395.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/0.2764, allocations: 1.886 MB / 397.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.2764, allocations: 0 / 397.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.2766, allocations: 56.31 kB / 397.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/0.2766, allocations: 44.62 kB / 397.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.2792, allocations: 1.694 MB / 399.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008046/0.2873, allocations: 5.517 MB / 405.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.2904, allocations: 2.911 MB / 408 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007038/0.2911, allocations: 500 kB / 408.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002147/0.2933, allocations: 1.541 MB / 410 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.2933, allocations: 38.97 kB / 410.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.084e-06/0.2933, allocations: 0 / 410.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003088/0.2964, allocations: 1.411 MB / 411.5 MB, free: 9.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.2965, allocations: 83.92 kB / 411.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.2977, allocations: 1.036 MB / 412.6 MB, free: 8.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/0.2978, allocations: 36.36 kB / 412.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.2983, allocations: 0.6729 MB / 413.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.2984, allocations: 194.7 kB / 413.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.2986, allocations: 124.4 kB / 413.6 MB, free: 7.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2987, allocations: 333.2 kB / 414 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.2993, allocations: 362.4 kB / 414.3 MB, free: 7.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.3, allocations: 0.5131 MB / 414.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.3012, allocations: 0.8735 MB / 415.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3013, allocations: 0 / 415.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001618/0.3029, allocations: 1.001 MB / 416.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3029, allocations: 11.98 kB / 416.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3029, allocations: 8 kB / 416.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.303, allocations: 11.94 kB / 416.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007734/0.3037, allocations: 180.1 kB / 416.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.3038, allocations: 16 kB / 416.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.3043, allocations: 91.23 kB / 417 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.3044, allocations: 27.98 kB / 417 MB, free: 4.379 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007158/0.3051, allocations: 0.5212 MB / 417.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.3053, allocations: 86.97 kB / 417.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.3065, allocations: 0.6862 MB / 418.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3066, allocations: 4.281 kB / 418.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3066, allocations: 8 kB / 418.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.3066, allocations: 7.922 kB / 418.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.3089, allocations: 1.655 MB / 420 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3089, allocations: 4 kB / 420 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.3094, allocations: 99.91 kB / 420.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004203/0.3098, allocations: 158.3 kB / 420.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.3099, allocations: 15.98 kB / 420.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/0.3128, allocations: 2.84 MB / 423.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3128, allocations: 3.938 kB / 423.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.315, allocations: 1.472 MB / 424.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.3153, allocations: 191.9 kB / 424.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.3154, allocations: 15.98 kB / 424.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.316, allocations: 63.94 kB / 424.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.3161, allocations: 51.86 kB / 424.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.3161, allocations: 16 kB / 424.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009053/0.3171, allocations: 0.737 MB / 425.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3171, allocations: 4 kB / 425.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009844/0.3181, allocations: 354.4 kB / 426 MB, free: 11.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002282/0.3183, allocations: 141.8 kB / 426.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.3196, allocations: 0.7838 MB / 426.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3196, allocations: 0 / 426.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.3206, allocations: 0.5918 MB / 427.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009584/0.3216, allocations: 175 kB / 427.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.3257, allocations: 2.765 MB / 430.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.3269, allocations: 1.491 MB / 432 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000552/0.3274, allocations: 234.7 kB / 432.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.3276, allocations: 63.42 kB / 432.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3276, allocations: 4 kB / 432.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of Templates: time 0.02085/0.3485, allocations: 11.81 MB / 444.1 MB, free: 8.984 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches