Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 188.9 kB / 24.49 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 47.92 kB / 371.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2415, allocations: 52.18 MB / 423.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005729/0.2473, allocations: 4.22 MB / 427.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.25, allocations: 1.588 MB / 429.2 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.2503, allocations: 31.81 kB / 429.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.2508, allocations: 266.3 kB / 429.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.2523, allocations: 0.6841 MB / 430.1 MB, free: 7.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.2528, allocations: 234 kB / 430.4 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002174/0.2549, allocations: 1.88 MB / 432.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008646/0.2558, allocations: 0.68 MB / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008809/0.2567, allocations: 0.8176 MB / 433.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.2579, allocations: 1.008 MB / 434.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.2581, allocations: 188 kB / 434.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005357/0.2586, allocations: 299.9 kB / 435.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004674/0.2591, allocations: 0.5453 MB / 435.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007826/0.2599, allocations: 0.7312 MB / 436.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002377/0.2623, allocations: 2.589 MB / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2623, allocations: 0 / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2623, allocations: 3.938 kB / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3e-05/0.2623, allocations: 4 kB / 439.1 MB, free: 14.59 MB / 350.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.004217/0.2665, allocations: 2.145 MB / 441.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2666, allocations: 12.03 kB / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.342e-05/0.2666, allocations: 34.86 kB / 441.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/0.2668, allocations: 202.8 kB / 441.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.2685, allocations: 379.5 kB / 441.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.2702, allocations: 1.049 MB / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/0.2703, allocations: 102.8 kB / 443 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.2705, allocations: 132 kB / 443.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/0.2735, allocations: 2.037 MB / 445.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.2735, allocations: 0 / 445.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.2736, allocations: 56 kB / 445.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.365e-05/0.2737, allocations: 53.97 kB / 445.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.2763, allocations: 1.687 MB / 447 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007867/0.2842, allocations: 5.004 MB / 452 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.2864, allocations: 1.06 MB / 453 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/0.2871, allocations: 472.1 kB / 453.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002105/0.2892, allocations: 1.233 MB / 454.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.2893, allocations: 42.5 kB / 454.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.194e-06/0.2893, allocations: 0 / 454.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003002/0.2923, allocations: 1.348 MB / 456.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.2923, allocations: 81.11 kB / 456.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.2935, allocations: 1.021 MB / 457.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.2936, allocations: 45.64 kB / 457.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005121/0.2941, allocations: 0.6909 MB / 457.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.2943, allocations: 202.3 kB / 458.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.2945, allocations: 126.3 kB / 458.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2946, allocations: 334 kB / 458.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.2952, allocations: 357 kB / 458.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/0.2958, allocations: 0.517 MB / 459.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.2971, allocations: 0.8712 MB / 460.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2971, allocations: 4.281 kB / 460.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001538/0.2986, allocations: 1.014 MB / 461.4 MB, free: 7.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2986, allocations: 11.94 kB / 461.4 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2986, allocations: 7.938 kB / 461.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.2986, allocations: 8 kB / 461.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007283/0.2994, allocations: 179.8 kB / 461.6 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.2994, allocations: 15.92 kB / 461.6 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.2999, allocations: 83.58 kB / 461.7 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.2999, allocations: 31.98 kB / 461.7 MB, free: 7.371 MB / 366.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.0006805/0.3006, allocations: 0.5265 MB / 462.2 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.3008, allocations: 99.33 kB / 462.3 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.302, allocations: 0.6734 MB / 463 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.302, allocations: 7.984 kB / 463 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.302, allocations: 11.92 kB / 463 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.302, allocations: 0 / 463 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.3042, allocations: 1.531 MB / 464.5 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3042, allocations: 3.938 kB / 464.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.3046, allocations: 91.88 kB / 464.6 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004068/0.305, allocations: 148.6 kB / 464.8 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.3051, allocations: 23.98 kB / 464.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.308, allocations: 2.713 MB / 467.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.308, allocations: 3.938 kB / 467.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.3101, allocations: 1.478 MB / 469 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.3103, allocations: 115.3 kB / 469.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.3105, allocations: 23.92 kB / 469.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.311, allocations: 55.94 kB / 469.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3111, allocations: 55.89 kB / 469.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.3111, allocations: 16 kB / 469.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009013/0.312, allocations: 0.7332 MB / 470 MB, free: 14.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.312, allocations: 0 / 470 MB, free: 14.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009561/0.313, allocations: 370.8 kB / 470.3 MB, free: 14.48 MB / 382.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.002508/0.3155, allocations: 2.06 MB / 472.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.3167, allocations: 0.7528 MB / 473.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3167, allocations: 0 / 473.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.3178, allocations: 0.5749 MB / 473.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008918/0.3187, allocations: 184 kB / 473.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.332, allocations: 10.53 MB / 484.4 MB, free: 44 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000912/0.3329, allocations: 0.9091 MB / 485.4 MB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005621/0.3334, allocations: 234.7 kB / 485.6 MB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005817/0.334, allocations: 483.3 kB / 486.1 MB, free: 14.39 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.334, allocations: 0 / 486.1 MB, free: 14.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05378/0.3878, allocations: 24.33 MB / 0.4984 GB, free: 6.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.17, allocations: 8.062 kB / 0.4984 GB, free: 6.441 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 17.128343762946315]