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.0008079/0.0008079, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001007/0.001007, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8637/0.8637, allocations: 173.3 MB / 200.4 MB, free: 9.43 MB / 186.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 4 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.451e-05, allocations: 8.609 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.003672/0.003686, allocations: 4.201 MB / 322.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.006247, allocations: 1.6 MB / 324.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.006632, allocations: 31.81 kB / 324.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.007166, allocations: 274 kB / 324.5 MB, free: 236 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.008378, allocations: 0.7069 MB / 325.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.008708, allocations: 218.5 kB / 325.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.01023, allocations: 1.955 MB / 327.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006597/0.01089, allocations: 0.6759 MB / 328.1 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009872/0.01187, allocations: 1.138 MB / 329.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007851/0.01266, allocations: 0.9196 MB / 330.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.01286, allocations: 188 kB / 330.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.01323, allocations: 307.7 kB / 330.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.01354, allocations: 0.553 MB / 331.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004928/0.01403, allocations: 0.6158 MB / 331.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.01553, allocations: 2.621 MB / 334.4 MB, free: 6.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.01553, allocations: 0 / 334.4 MB, free: 6.285 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01554, allocations: 0 / 334.4 MB, free: 6.285 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.831e-05/0.01557, allocations: 0 / 334.4 MB, free: 6.285 MB / 298.7 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.002637/0.01821, allocations: 2.129 MB / 336.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.01824, allocations: 12.92 kB / 336.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.01841, allocations: 206.8 kB / 336.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008955/0.0193, allocations: 375.5 kB / 337.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.02053, allocations: 1.045 MB / 338.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.02058, allocations: 103 kB / 338.3 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.02071, allocations: 132.4 kB / 338.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.02263, allocations: 2.045 MB / 340.4 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.02265, allocations: 0 / 340.4 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.308e-05/0.02273, allocations: 56 kB / 340.5 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.02277, allocations: 46 kB / 340.5 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.02464, allocations: 1.687 MB / 342.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004871/0.02951, allocations: 5.005 MB / 347.2 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.03107, allocations: 1.058 MB / 348.3 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004464/0.03152, allocations: 476.5 kB / 348.8 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.03274, allocations: 1.241 MB / 350 MB, free: 6.281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.03277, allocations: 42.5 kB / 350 MB, free: 6.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=53): time 1.663e-06/0.03277, allocations: 3.938 kB / 350 MB, free: 6.227 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.001779/0.03455, allocations: 1.331 MB / 351.4 MB, free: 4.887 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.03459, allocations: 88.97 kB / 351.5 MB, free: 4.781 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.0354, allocations: 1.036 MB / 352.5 MB, free: 3.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.03543, allocations: 33.7 kB / 352.5 MB, free: 3.695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.03572, allocations: 0.6909 MB / 353.2 MB, free: 2.996 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.744e-05/0.03581, allocations: 198.3 kB / 353.4 MB, free: 2.801 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.03594, allocations: 134.3 kB / 353.6 MB, free: 2.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.03601, allocations: 333.9 kB / 353.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.03637, allocations: 361 kB / 354.2 MB, free: 1.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.0368, allocations: 0.517 MB / 354.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.03782, allocations: 0.8711 MB / 355.6 MB, free: 464 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.03782, allocations: 4 kB / 355.6 MB, free: 460 kB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009426/0.03876, allocations: 0.9982 MB / 356.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.03878, allocations: 8 kB / 356.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.03878, allocations: 8.031 kB / 356.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.0388, allocations: 8 kB / 356.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.03917, allocations: 183.7 kB / 356.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.03918, allocations: 15.94 kB / 356.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.03942, allocations: 87.47 kB / 356.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.03945, allocations: 24 kB / 356.9 MB, free: 15.12 MB / 330.7 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.0004237/0.03987, allocations: 0.5325 MB / 357.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.759e-05/0.03996, allocations: 95.39 kB / 357.6 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.04067, allocations: 0.6813 MB / 358.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.04068, allocations: 4 kB / 358.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.04069, allocations: 4 kB / 358.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.04069, allocations: 3.984 kB / 358.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.04208, allocations: 1.523 MB / 359.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.04209, allocations: 0 / 359.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.04231, allocations: 99.95 kB / 359.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/0.04257, allocations: 152.7 kB / 360 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.0426, allocations: 19.98 kB / 360.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.04471, allocations: 2.719 MB / 362.8 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.04471, allocations: 4.031 kB / 362.8 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.04601, allocations: 1.476 MB / 364.3 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.04612, allocations: 119.3 kB / 364.4 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.04618, allocations: 12 kB / 364.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.04644, allocations: 63.92 kB / 364.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.04653, allocations: 55.84 kB / 364.5 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.04656, allocations: 23.92 kB / 364.5 MB, free: 7.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005879/0.04714, allocations: 0.7254 MB / 365.2 MB, free: 6.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04714, allocations: 7.938 kB / 365.3 MB, free: 6.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005649/0.04771, allocations: 358.9 kB / 365.6 MB, free: 6.238 MB / 330.7 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.001649/0.04936, allocations: 2.063 MB / 367.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.05013, allocations: 0.7538 MB / 368.4 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.05013, allocations: 0 / 368.4 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006507/0.05078, allocations: 0.5827 MB / 369 MB, free: 2.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.05136, allocations: 178.7 kB / 369.2 MB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009419/0.06078, allocations: 10.49 MB / 379.7 MB, free: 7.832 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.06136, allocations: 0.9052 MB / 380.6 MB, free: 6.895 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000352/0.06171, allocations: 234.7 kB / 380.8 MB, free: 6.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.06209, allocations: 480.3 kB / 381.3 MB, free: 6.191 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.06209, allocations: 0 / 381.3 MB, free: 6.191 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.09707, allocations: 24.64 MB / 405.9 MB, free: 13.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/7.781, allocations: 7.875 kB / 405.9 MB, free: 13.84 MB / 378.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.96959250420332]