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.001314/0.001314, 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.00145/0.00145, allocations: 215 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.406/1.406, allocations: 207.7 MB / 235.3 MB, free: 9.793 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [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.001691/0.001691, allocations: 47.92 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.28, allocations: 49.16 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005216/0.2852, allocations: 4.159 MB / 400.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.2881, allocations: 1.659 MB / 402.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.2885, allocations: 28.44 kB / 402.2 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.2891, allocations: 266.1 kB / 402.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.2909, allocations: 0.6477 MB / 403.1 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.2915, allocations: 229.4 kB / 403.3 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.2947, allocations: 1.891 MB / 405.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.2958, allocations: 0.649 MB / 405.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.2971, allocations: 0.8034 MB / 406.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.2989, allocations: 1.017 MB / 407.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000622/0.2995, allocations: 185.2 kB / 407.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.3006, allocations: 301.3 kB / 408.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006012/0.3012, allocations: 0.5422 MB / 408.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.3023, allocations: 0.7267 MB / 409.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003175/0.3055, allocations: 2.59 MB / 412 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3055, allocations: 0 / 412 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3055, allocations: 1.125 kB / 412 MB, free: 15.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.746e-05/0.3055, allocations: 0 / 412 MB, free: 15.94 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.006572/0.3121, allocations: 2.141 MB / 414.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.3122, allocations: 16.8 kB / 414.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003524/0.3125, allocations: 212.4 kB / 414.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.3146, allocations: 373.5 kB / 414.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.3169, allocations: 0.9988 MB / 415.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.317, allocations: 108.5 kB / 415.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/0.3173, allocations: 136.6 kB / 416 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0038/0.3211, allocations: 2.039 MB / 418 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.3211, allocations: 0 / 418 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.3213, allocations: 55.44 kB / 418.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/0.3213, allocations: 45.25 kB / 418.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002989/0.3243, allocations: 1.684 MB / 419.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.3349, allocations: 5.034 MB / 424.8 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/0.3386, allocations: 1.049 MB / 425.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.3398, allocations: 487.1 kB / 426.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003651/0.3434, allocations: 1.229 MB / 427.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/0.3435, allocations: 50.61 kB / 427.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 3.216e-06/0.3435, allocations: 4 kB / 427.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.004609/0.3481, allocations: 1.325 MB / 429 MB, free: 2.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.3482, allocations: 92.98 kB / 429.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.3505, allocations: 1.032 MB / 430.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.3506, allocations: 41.7 kB / 430.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009391/0.3516, allocations: 0.6948 MB / 430.8 MB, free: 132 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.352, allocations: 202.5 kB / 431 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/0.3523, allocations: 122.3 kB / 431.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.3526, allocations: 334 kB / 431.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009996/0.3536, allocations: 361 kB / 431.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.3547, allocations: 0.5132 MB / 432.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/0.3571, allocations: 0.8749 MB / 433.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.3571, allocations: 0 / 433.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003227/0.3603, allocations: 1.014 MB / 434.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.3603, allocations: 8 kB / 434.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.3604, allocations: 11.73 kB / 434.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.323e-05/0.3604, allocations: 8.281 kB / 434.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.3615, allocations: 183.8 kB / 434.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.523e-05/0.3615, allocations: 15.88 kB / 434.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.3627, allocations: 91.44 kB / 434.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.505e-05/0.3628, allocations: 31.98 kB / 434.6 MB, free: 12.23 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.001392/0.3642, allocations: 0.5208 MB / 435.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/0.3646, allocations: 99.38 kB / 435.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.3665, allocations: 0.6696 MB / 435.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.3665, allocations: 7.938 kB / 435.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/0.3665, allocations: 7.938 kB / 435.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.3665, allocations: 3.984 kB / 435.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/0.3708, allocations: 1.532 MB / 437.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.3708, allocations: 3.938 kB / 437.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.3714, allocations: 91.88 kB / 437.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000593/0.372, allocations: 149.7 kB / 437.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/0.3721, allocations: 27.92 kB / 437.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004447/0.3765, allocations: 2.714 MB / 440.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.3765, allocations: 0 / 440.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/0.38, allocations: 1.474 MB / 441.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/0.3807, allocations: 123.3 kB / 442 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.3808, allocations: 23.92 kB / 442 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000739/0.3816, allocations: 55.94 kB / 442.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.3818, allocations: 55.89 kB / 442.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.3818, allocations: 16 kB / 442.1 MB, free: 4.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001493/0.3833, allocations: 0.7332 MB / 442.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3833, allocations: 0 / 442.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001518/0.3848, allocations: 362.9 kB / 443.2 MB, free: 3.348 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.003774/0.3886, allocations: 2.052 MB / 445.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.3905, allocations: 0.7494 MB / 446 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.3905, allocations: 4.062 kB / 446 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.392, allocations: 0.5782 MB / 446.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.3934, allocations: 180.2 kB / 446.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/0.4133, allocations: 10.54 MB / 457.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/0.4146, allocations: 0.9128 MB / 458.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008424/0.4155, allocations: 234.7 kB / 458.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008259/0.4163, allocations: 483.3 kB / 458.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4163, allocations: 0 / 458.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09798/0.5143, allocations: 24.54 MB / 483.5 MB, free: 10.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.88, allocations: 7.844 kB / 483.5 MB, free: 10.61 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 52.5] 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.58469074498862]