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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 51.92 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2612, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006878/0.2681, allocations: 4.173 MB / 401 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003493/0.2716, allocations: 1.65 MB / 402.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008594/0.2725, allocations: 28.81 kB / 402.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009089/0.2734, allocations: 266.6 kB / 403 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.2756, allocations: 0.6514 MB / 403.6 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006803/0.2763, allocations: 225.3 kB / 403.8 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.2786, allocations: 1.896 MB / 405.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000846/0.2795, allocations: 0.6445 MB / 406.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009937/0.2804, allocations: 0.8072 MB / 407.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.2818, allocations: 1.013 MB / 408.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002922/0.2821, allocations: 185.8 kB / 408.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006981/0.2828, allocations: 299.5 kB / 408.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004417/0.2832, allocations: 0.5462 MB / 409.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008154/0.284, allocations: 0.7197 MB / 409.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.2863, allocations: 2.593 MB / 412.5 MB, free: 308 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2863, allocations: 1.5 kB / 412.5 MB, free: 308 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2863, allocations: 0 / 412.5 MB, free: 308 kB / 318.1 MB Notification: Performance of Transformations before backend: time 3.813e-05/0.2863, allocations: 0 / 412.5 MB, free: 308 kB / 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.005055/0.2914, allocations: 2.146 MB / 414.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2914, allocations: 16.61 kB / 414.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.2933, allocations: 374.5 kB / 415 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.2958, allocations: 1.005 MB / 416.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.2959, allocations: 105 kB / 416.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.2961, allocations: 132.2 kB / 416.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003607/0.2997, allocations: 2.044 MB / 418.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.2998, allocations: 0 / 418.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.2999, allocations: 51.62 kB / 418.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/0.3, allocations: 44.88 kB / 418.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.303, allocations: 1.688 MB / 420.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.313, allocations: 4.845 MB / 425 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.3156, allocations: 1.044 MB / 426 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008314/0.3165, allocations: 479.2 kB / 426.5 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002633/0.3191, allocations: 1.241 MB / 427.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.3191, allocations: 46.55 kB / 427.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.796e-06/0.3191, allocations: 3.938 kB / 427.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003488/0.3226, allocations: 1.32 MB / 429.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.3227, allocations: 85.11 kB / 429.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.3243, allocations: 1.012 MB / 430.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.3243, allocations: 37.7 kB / 430.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005631/0.3249, allocations: 0.6987 MB / 430.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.3251, allocations: 194.3 kB / 431.1 MB, free: 432 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.3253, allocations: 130.3 kB / 431.2 MB, free: 296 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3255, allocations: 333.9 kB / 431.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/0.3261, allocations: 357 kB / 431.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007749/0.3269, allocations: 0.5132 MB / 432.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.3283, allocations: 0.8788 MB / 433.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3284, allocations: 0 / 433.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001833/0.3302, allocations: 1.014 MB / 434.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.3302, allocations: 8 kB / 434.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3302, allocations: 7.938 kB / 434.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.3302, allocations: 8 kB / 434.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.3311, allocations: 187.6 kB / 434.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.3311, allocations: 12 kB / 434.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007997/0.3319, allocations: 91.5 kB / 434.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.332, allocations: 24 kB / 434.6 MB, free: 12.73 MB / 350.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.00108/0.3331, allocations: 0.5304 MB / 435.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.3333, allocations: 91.44 kB / 435.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.3348, allocations: 0.6772 MB / 435.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3348, allocations: 4 kB / 435.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.3348, allocations: 4 kB / 435.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.3348, allocations: 3.984 kB / 435.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.3377, allocations: 1.353 MB / 437.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3377, allocations: 0 / 437.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.3381, allocations: 95.88 kB / 437.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/0.3386, allocations: 149.7 kB / 437.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.3387, allocations: 23.98 kB / 437.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003505/0.3422, allocations: 2.687 MB / 440.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.3422, allocations: 8 kB / 440.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.3448, allocations: 1.47 MB / 441.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.3451, allocations: 123.3 kB / 441.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.3452, allocations: 12 kB / 441.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/0.3458, allocations: 63.88 kB / 441.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.346, allocations: 59.83 kB / 442 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.346, allocations: 23.98 kB / 442 MB, free: 5.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001068/0.3471, allocations: 0.7059 MB / 442.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3471, allocations: 0 / 442.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001219/0.3483, allocations: 366.8 kB / 443.1 MB, free: 4.094 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.0002802/0.3486, allocations: 131.2 kB / 443.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.35, allocations: 0.7527 MB / 443.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.35, allocations: 384 / 443.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.3512, allocations: 0.5861 MB / 444.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3522, allocations: 168.2 kB / 444.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/0.3569, allocations: 2.793 MB / 447.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.358, allocations: 0.9051 MB / 448.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006733/0.3587, allocations: 234.5 kB / 448.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.3588, allocations: 59.42 kB / 448.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3588, allocations: 0 / 448.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Templates: time 0.02536/0.3842, allocations: 13.05 MB / 461.7 MB, free: 1.301 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.92946108058095]