Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.00154/0.00154, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001832/0.001832, allocations: 212.2 kB / 24.52 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.354/1.354, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 43.94 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2243, allocations: 53.36 MB / 431.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007799/0.2321, allocations: 6.697 MB / 438.6 MB, free: 104 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003875/0.236, allocations: 2.277 MB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/0.2364, allocations: 55.69 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.2371, allocations: 385.5 kB / 441.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.2389, allocations: 0.855 MB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007309/0.2397, allocations: 381.4 kB / 442.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00357/0.2432, allocations: 3.184 MB / 445.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.2446, allocations: 1.101 MB / 446.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.246, allocations: 1.332 MB / 448.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.248, allocations: 1.658 MB / 449.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003835/0.2484, allocations: 296 kB / 450.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007674/0.2492, allocations: 435.9 kB / 450.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007179/0.2499, allocations: 0.8528 MB / 451.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.2513, allocations: 1.47 MB / 452.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.2553, allocations: 4.108 MB / 457 MB, free: 13.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.2553, allocations: 4 kB / 457 MB, free: 13.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2553, allocations: 0 / 457 MB, free: 13.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.773e-05/0.2554, allocations: 3.938 kB / 457 MB, free: 13.63 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.007485/0.2628, allocations: 3.478 MB / 460.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2629, allocations: 8.031 kB / 460.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.003e-05/0.2629, allocations: 64.77 kB / 460.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003901/0.2633, allocations: 337.1 kB / 460.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/0.2675, allocations: 0.7485 MB / 461.6 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.2706, allocations: 1.691 MB / 463.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.2708, allocations: 176.7 kB / 463.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/0.2711, allocations: 228 kB / 463.7 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005057/0.2762, allocations: 3.199 MB / 466.9 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/0.2762, allocations: 7.938 kB / 466.9 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.2764, allocations: 92 kB / 467 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.397e-05/0.2765, allocations: 77.98 kB / 467.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004624/0.2811, allocations: 2.862 MB / 469.9 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.2962, allocations: 9.038 MB / 479 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00387/0.3, allocations: 1.843 MB / 480.8 MB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.3012, allocations: 0.7722 MB / 481.6 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00401/0.3052, allocations: 2.249 MB / 483.8 MB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.3053, allocations: 46.89 kB / 483.9 MB, free: 2.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.185e-06/0.3053, allocations: 0 / 483.9 MB, free: 2.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008284/0.3136, allocations: 4.143 MB / 488 MB, free: 13.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.3136, allocations: 115.2 kB / 488.1 MB, free: 13.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.316, allocations: 1.614 MB / 489.8 MB, free: 12.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.3161, allocations: 49.7 kB / 489.8 MB, free: 12.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008943/0.317, allocations: 1.141 MB / 490.9 MB, free: 10.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.3173, allocations: 380.8 kB / 491.3 MB, free: 10.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/0.3177, allocations: 234.9 kB / 491.5 MB, free: 10.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3179, allocations: 357.9 kB / 491.9 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.319, allocations: 0.6387 MB / 492.5 MB, free: 9.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.3203, allocations: 1.008 MB / 493.5 MB, free: 8.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/0.3228, allocations: 1.708 MB / 495.3 MB, free: 6.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.3228, allocations: 4 kB / 495.3 MB, free: 6.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003364/0.3261, allocations: 1.947 MB / 497.2 MB, free: 4.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.3262, allocations: 11.94 kB / 497.2 MB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.3262, allocations: 15.94 kB / 497.2 MB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/0.3266, allocations: 121.6 kB / 497.3 MB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.3278, allocations: 339.5 kB / 497.7 MB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.3309, allocations: 3.224 MB / 0.4892 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.332, allocations: 95.67 kB / 0.4893 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.3321, allocations: 59.98 kB / 0.4893 GB, free: 300 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001372/0.3335, allocations: 0.833 MB / 0.4901 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003677/0.3339, allocations: 163 kB / 0.4903 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.3365, allocations: 1.389 MB / 0.4916 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.3365, allocations: 11.94 kB / 0.4916 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.3365, allocations: 7.938 kB / 0.4917 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3365, allocations: 3.984 kB / 0.4917 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/0.3408, allocations: 2.437 MB / 0.494 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.3408, allocations: 192 / 0.494 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.3416, allocations: 187.8 kB / 0.4942 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006482/0.3422, allocations: 269.4 kB / 0.4945 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.569e-05/0.3423, allocations: 35.97 kB / 0.4945 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005939/0.3482, allocations: 5.93 MB / 0.5003 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3482, allocations: 0 / 0.5003 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00401/0.3522, allocations: 2.561 MB / 0.5028 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004974/0.3527, allocations: 190.8 kB / 0.503 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/0.353, allocations: 27.98 kB / 0.503 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009333/0.354, allocations: 88.03 kB / 0.5031 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.3542, allocations: 104.1 kB / 0.5032 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-05/0.3543, allocations: 35.98 kB / 0.5032 GB, free: 1.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00171/0.356, allocations: 1.135 MB / 0.5043 GB, free: 428 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.356, allocations: 0 / 0.5043 GB, free: 428 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001586/0.3576, allocations: 440 kB / 0.5048 GB, free: 15.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00443/0.362, allocations: 3.166 MB / 0.5078 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002889/0.3649, allocations: 1.672 MB / 0.5095 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3649, allocations: 0 / 0.5095 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.3668, allocations: 1.157 MB / 0.5106 GB, free: 9.883 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.3683, allocations: 280.9 kB / 0.5109 GB, free: 9.609 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/0.3952, allocations: 17.48 MB / 0.5279 GB, free: 7.586 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/0.3977, allocations: 2.113 MB / 0.53 GB, free: 5.434 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001277/0.3989, allocations: 455.5 kB / 0.5304 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.4002, allocations: 0.8234 MB / 0.5313 GB, free: 4.164 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4002, allocations: 0 / 0.5313 GB, free: 4.164 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2667/0.6669, allocations: 39.62 MB / 0.5699 GB, free: 77.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.42, allocations: 10.73 kB / 0.57 GB, free: 77.94 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 19.242369643005077]