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.00145/0.00145, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001553/0.001553, allocations: 191.7 kB / 24.51 MB, free: 4.016 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.353/1.353, allocations: 225.7 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.001463/0.001463, allocations: 47.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2398, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006187/0.246, allocations: 4.701 MB / 428.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.2492, allocations: 1.713 MB / 429.8 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003839/0.2495, allocations: 31.81 kB / 429.9 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006429/0.2502, allocations: 266.3 kB / 430.1 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.2517, allocations: 0.7152 MB / 430.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.2522, allocations: 226.8 kB / 431.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.2546, allocations: 1.887 MB / 432.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.2556, allocations: 0.685 MB / 433.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.2569, allocations: 0.8099 MB / 434.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.2583, allocations: 1.008 MB / 435.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.2585, allocations: 184 kB / 435.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006248/0.2592, allocations: 319.8 kB / 435.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004942/0.2596, allocations: 0.5375 MB / 436.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009671/0.2606, allocations: 0.8905 MB / 437.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002975/0.2636, allocations: 2.577 MB / 439.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2636, allocations: 3.938 kB / 439.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2636, allocations: 0 / 439.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.621e-05/0.2636, allocations: 7.875 kB / 440 MB, free: 13.98 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.004612/0.2682, allocations: 2.149 MB / 442.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2683, allocations: 12.03 kB / 442.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.095e-05/0.2683, allocations: 34.86 kB / 442.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002525/0.2686, allocations: 202.8 kB / 442.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.2703, allocations: 379.6 kB / 442.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.2721, allocations: 1.038 MB / 443.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.2722, allocations: 110.7 kB / 443.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.2724, allocations: 132 kB / 444 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/0.2753, allocations: 1.89 MB / 445.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.2753, allocations: 3.984 kB / 445.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.2755, allocations: 56 kB / 445.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/0.2755, allocations: 49.98 kB / 446 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.2782, allocations: 1.684 MB / 447.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008205/0.2864, allocations: 5.421 MB / 453.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.2888, allocations: 1.076 MB / 454.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007349/0.2896, allocations: 476.1 kB / 454.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002225/0.2918, allocations: 1.354 MB / 456 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.2918, allocations: 50.44 kB / 456 MB, free: 13.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 1.854e-06/0.2918, allocations: 0 / 456 MB, free: 13.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003152/0.295, allocations: 1.338 MB / 457.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.295, allocations: 81.11 kB / 457.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.2964, allocations: 1.024 MB / 458.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.2964, allocations: 41.64 kB / 458.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/0.297, allocations: 0.6948 MB / 459.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.2971, allocations: 194.4 kB / 459.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.2973, allocations: 126.3 kB / 459.5 MB, free: 9.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2974, allocations: 334 kB / 459.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.298, allocations: 357 kB / 460.2 MB, free: 9.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007053/0.2987, allocations: 0.5132 MB / 460.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.3, allocations: 0.8672 MB / 461.6 MB, free: 7.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3, allocations: 0 / 461.6 MB, free: 7.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001633/0.3017, allocations: 1.018 MB / 462.6 MB, free: 6.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3017, allocations: 15.97 kB / 462.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3017, allocations: 4 kB / 462.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.3017, allocations: 11.94 kB / 462.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/0.3024, allocations: 179.7 kB / 462.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.3025, allocations: 19.86 kB / 462.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.303, allocations: 83.48 kB / 462.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.303, allocations: 35.98 kB / 462.9 MB, free: 6.391 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.0007179/0.3037, allocations: 0.5226 MB / 463.5 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.3039, allocations: 95.38 kB / 463.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.3052, allocations: 0.6811 MB / 464.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.3052, allocations: 8 kB / 464.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3052, allocations: 3.938 kB / 464.3 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3052, allocations: 4 kB / 464.3 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.3077, allocations: 1.643 MB / 465.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3077, allocations: 7.938 kB / 465.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.3082, allocations: 91.88 kB / 466 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004268/0.3086, allocations: 151.7 kB / 466.1 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.3086, allocations: 23.98 kB / 466.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/0.3118, allocations: 2.745 MB / 468.9 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3118, allocations: 0 / 468.9 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.3142, allocations: 1.474 MB / 470.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.3144, allocations: 119.3 kB / 470.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.3146, allocations: 23.92 kB / 470.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/0.3151, allocations: 55.94 kB / 470.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.3152, allocations: 55.89 kB / 470.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.3153, allocations: 12 kB / 470.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009965/0.3163, allocations: 0.7371 MB / 471.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3163, allocations: 0 / 471.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00106/0.3173, allocations: 366.8 kB / 471.7 MB, free: 13.37 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.002649/0.32, allocations: 2.058 MB / 473.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.3213, allocations: 0.7531 MB / 474.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3213, allocations: 0 / 474.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.3224, allocations: 0.5783 MB / 475.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.3235, allocations: 184.2 kB / 475.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.3392, allocations: 10.54 MB / 485.8 MB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.3405, allocations: 1.495 MB / 487.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007038/0.3412, allocations: 234.7 kB / 487.6 MB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006347/0.3419, allocations: 483.3 kB / 488 MB, free: 12.69 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3419, allocations: 0 / 488 MB, free: 12.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05431/0.3962, allocations: 23.73 MB / 0.4998 GB, free: 5.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.08, allocations: 11.92 kB / 0.4998 GB, free: 5.238 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.121049456007313]