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.002046/0.002046, allocations: 120.2 kB / 21.94 MB, free: 8 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.001672/0.001672, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.479/1.479, allocations: 207.6 MB / 236 MB, free: 9.992 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.001868/0.001868, allocations: 56.44 kB / 348.4 MB, free: 9.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3012, allocations: 49.15 MB / 397.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005947/0.3072, allocations: 4.663 MB / 402.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.3105, allocations: 1.757 MB / 404 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007299/0.3113, allocations: 31.28 kB / 404 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009071/0.3122, allocations: 271 kB / 404.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.3144, allocations: 0.6659 MB / 405 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.3152, allocations: 237.1 kB / 405.2 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003286/0.3184, allocations: 1.892 MB / 407.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.3196, allocations: 0.6677 MB / 407.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.3209, allocations: 0.8018 MB / 408.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.3228, allocations: 1.002 MB / 409.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000701/0.3235, allocations: 190.8 kB / 409.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.3248, allocations: 313 kB / 410.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008818/0.3257, allocations: 0.5343 MB / 410.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.3278, allocations: 0.8901 MB / 411.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.3314, allocations: 2.582 MB / 414.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.3314, allocations: 0 / 414.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3314, allocations: 4 kB / 414.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.958e-05/0.3315, allocations: 3.938 kB / 414.1 MB, free: 15.71 MB / 334.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.005932/0.3374, allocations: 2.14 MB / 416.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3374, allocations: 12.64 kB / 416.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.3394, allocations: 376.9 kB / 416.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.3417, allocations: 0.9983 MB / 417.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.3418, allocations: 97.02 kB / 417.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.342, allocations: 144.6 kB / 417.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/0.3457, allocations: 1.888 MB / 419.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.3457, allocations: 0 / 419.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.3459, allocations: 56.09 kB / 419.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.974e-05/0.3459, allocations: 49.38 kB / 419.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.3489, allocations: 1.682 MB / 421.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.3598, allocations: 5.451 MB / 427 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.3623, allocations: 1.06 MB / 428 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008123/0.3631, allocations: 483.2 kB / 428.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003148/0.3663, allocations: 1.366 MB / 429.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/0.3663, allocations: 38.56 kB / 429.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.946e-06/0.3663, allocations: 0 / 429.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003602/0.3699, allocations: 1.336 MB / 431.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.37, allocations: 85.05 kB / 431.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.3721, allocations: 1.028 MB / 432.3 MB, free: 324 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.3e-05/0.3721, allocations: 37.7 kB / 432.4 MB, free: 280 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006754/0.3728, allocations: 0.691 MB / 433.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.373, allocations: 206.2 kB / 433.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.3733, allocations: 126.3 kB / 433.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.3735, allocations: 334 kB / 433.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006761/0.3742, allocations: 361 kB / 434.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/0.3749, allocations: 0.517 MB / 434.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.3764, allocations: 0.8788 MB / 435.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.3764, allocations: 4 kB / 435.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001952/0.3783, allocations: 1.014 MB / 436.5 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.3784, allocations: 8 kB / 436.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.3784, allocations: 4 kB / 436.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.3784, allocations: 11.94 kB / 436.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.3792, allocations: 183.7 kB / 436.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.3792, allocations: 8 kB / 436.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/0.38, allocations: 91.59 kB / 436.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.643e-05/0.38, allocations: 28 kB / 436.8 MB, free: 11.67 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.0009543/0.381, allocations: 0.5247 MB / 437.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.3813, allocations: 91.44 kB / 437.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.3827, allocations: 0.6812 MB / 438.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3827, allocations: 8 kB / 438.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.3827, allocations: 4 kB / 438.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3827, allocations: 7.922 kB / 438.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/0.3861, allocations: 1.636 MB / 439.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.3861, allocations: 0 / 439.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.3866, allocations: 91.88 kB / 439.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004948/0.3871, allocations: 161.8 kB / 440 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.3872, allocations: 19.98 kB / 440 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00358/0.3907, allocations: 2.741 MB / 442.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3907, allocations: 288 / 442.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.3934, allocations: 1.474 MB / 444.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.3938, allocations: 123.3 kB / 444.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.3941, allocations: 15.94 kB / 444.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000669/0.3947, allocations: 71.84 kB / 444.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3949, allocations: 55.84 kB / 444.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.3949, allocations: 19.98 kB / 444.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001306/0.3962, allocations: 0.7293 MB / 445.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3962, allocations: 0 / 445.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001334/0.3976, allocations: 362.9 kB / 445.6 MB, free: 2.648 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.0003198/0.3979, allocations: 135.2 kB / 445.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.3994, allocations: 0.753 MB / 446.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3994, allocations: 4 kB / 446.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.4006, allocations: 0.5711 MB / 447.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.4018, allocations: 175.7 kB / 447.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.4074, allocations: 2.808 MB / 450.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.4089, allocations: 1.465 MB / 451.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/0.4092, allocations: 67.42 kB / 451.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4092, allocations: 3.938 kB / 451.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of Templates: time 0.03253/0.4418, allocations: 19.84 MB / 471.4 MB, free: 8.684 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.319803472142667]