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.001358/0.001358, allocations: 108.3 kB / 21.93 MB, free: 5.223 MB / 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.0014/0.0014, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.434/1.434, allocations: 207.7 MB / 236.1 MB, free: 9.801 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.001851/0.001851, allocations: 63.92 kB / 348.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2742, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005005/0.2792, allocations: 4.161 MB / 401.8 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.2822, allocations: 1.655 MB / 403.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.2825, allocations: 27.75 kB / 403.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.2831, allocations: 261.6 kB / 403.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.2847, allocations: 0.6478 MB / 404.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.2852, allocations: 236 kB / 404.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.2873, allocations: 1.881 MB / 406.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000864/0.2882, allocations: 0.6493 MB / 407.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.2893, allocations: 0.8105 MB / 407.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.2907, allocations: 1.01 MB / 408.9 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.291, allocations: 185.4 kB / 409.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007334/0.2917, allocations: 303.6 kB / 409.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004817/0.2922, allocations: 0.538 MB / 409.9 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008529/0.2931, allocations: 0.7355 MB / 410.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.2956, allocations: 2.583 MB / 413.3 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2956, allocations: 4 kB / 413.3 MB, free: 340 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2956, allocations: 0 / 413.3 MB, free: 340 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.307e-05/0.2956, allocations: 0 / 413.3 MB, free: 340 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.005306/0.3009, allocations: 2.149 MB / 415.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.301, allocations: 13.17 kB / 415.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.3029, allocations: 377.5 kB / 415.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.3052, allocations: 0.9986 MB / 416.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-05/0.3053, allocations: 101.3 kB / 416.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.3055, allocations: 143.8 kB / 417 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.309, allocations: 2.035 MB / 419.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.3091, allocations: 5.469 kB / 419.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.3092, allocations: 55.16 kB / 419.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/0.3093, allocations: 48.56 kB / 419.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003041/0.3123, allocations: 1.684 MB / 420.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009634/0.3219, allocations: 4.842 MB / 425.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.3244, allocations: 1.055 MB / 426.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007668/0.3252, allocations: 479.2 kB / 427.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002671/0.3279, allocations: 1.237 MB / 428.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.3279, allocations: 42.55 kB / 428.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.485e-06/0.3279, allocations: 0 / 428.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003273/0.3312, allocations: 1.324 MB / 429.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.3313, allocations: 89.11 kB / 429.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.3328, allocations: 1.012 MB / 430.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.3328, allocations: 37.7 kB / 431 MB, free: 1.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000584/0.3334, allocations: 0.6948 MB / 431.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.3336, allocations: 198.3 kB / 431.9 MB, free: 456 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.3338, allocations: 126.3 kB / 432 MB, free: 324 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.334, allocations: 334.2 kB / 432.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/0.3346, allocations: 357 kB / 432.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007674/0.3354, allocations: 0.5209 MB / 433.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.3368, allocations: 0.871 MB / 434 MB, free: 14.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.3368, allocations: 7.938 kB / 434.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001807/0.3386, allocations: 1.006 MB / 435.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3386, allocations: 8 kB / 435.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3386, allocations: 4 kB / 435.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.3386, allocations: 8 kB / 435.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.3394, allocations: 191.9 kB / 435.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.3394, allocations: 11.94 kB / 435.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/0.3401, allocations: 87.47 kB / 435.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.3401, allocations: 28 kB / 435.4 MB, free: 12.75 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.0009459/0.3411, allocations: 0.5265 MB / 435.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.3413, allocations: 91.44 kB / 436 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.3426, allocations: 0.6849 MB / 436.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.3426, allocations: 4 kB / 436.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.3426, allocations: 4 kB / 436.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.3427, allocations: 3.984 kB / 436.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.3453, allocations: 1.361 MB / 438.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3453, allocations: 0 / 438.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.3458, allocations: 91.88 kB / 438.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.3462, allocations: 153.8 kB / 438.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.3463, allocations: 23.98 kB / 438.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/0.3497, allocations: 2.683 MB / 441 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-06/0.3497, allocations: 7.875 kB / 441 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.3521, allocations: 1.47 MB / 442.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.3525, allocations: 123.3 kB / 442.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.3526, allocations: 12 kB / 442.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.3531, allocations: 59.94 kB / 442.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.3533, allocations: 55.83 kB / 442.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.3533, allocations: 19.98 kB / 442.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001066/0.3544, allocations: 0.7137 MB / 443.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3544, allocations: 3.938 kB / 443.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001184/0.3556, allocations: 362.8 kB / 443.8 MB, free: 4.117 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.0002759/0.3558, allocations: 131.2 kB / 444 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.3572, allocations: 0.7562 MB / 444.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3572, allocations: 0 / 444.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.3584, allocations: 0.5753 MB / 445.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.3594, allocations: 171.9 kB / 445.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/0.3641, allocations: 2.796 MB / 448.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009768/0.3651, allocations: 0.8712 MB / 449.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.3653, allocations: 63.42 kB / 449.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3653, allocations: 0 / 449.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of Templates: time 0.03029/0.3956, allocations: 20.2 MB / 469.4 MB, free: 10.41 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/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: 9.248946415726095]