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.001363/0.001363, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001446/0.001446, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.484/1.484, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.00181/0.00181, allocations: 51.94 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3267, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.00566/0.3323, allocations: 4.653 MB / 401 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.3356, allocations: 1.751 MB / 402.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.3361, allocations: 32.62 kB / 402.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.3367, allocations: 271.9 kB / 403.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.3384, allocations: 0.6731 MB / 403.7 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.339, allocations: 236.4 kB / 404 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002578/0.3415, allocations: 1.892 MB / 405.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.3425, allocations: 0.6645 MB / 406.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.3441, allocations: 0.8106 MB / 407.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.3455, allocations: 1.001 MB / 408.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.3458, allocations: 190.3 kB / 408.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007325/0.3465, allocations: 309.1 kB / 408.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000471/0.347, allocations: 0.539 MB / 409.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009713/0.348, allocations: 0.8938 MB / 410.2 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.3512, allocations: 2.576 MB / 412.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3512, allocations: 1.344 kB / 412.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3512, allocations: 0 / 412.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.632e-05/0.3512, allocations: 0 / 412.8 MB, free: 15.2 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.005481/0.3567, allocations: 2.142 MB / 415 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.3567, allocations: 12.92 kB / 415 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003222/0.3571, allocations: 207.3 kB / 415.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.359, allocations: 381.5 kB / 415.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.3615, allocations: 0.9949 MB / 416.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.3617, allocations: 101 kB / 416.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.3619, allocations: 139.9 kB / 416.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003734/0.3656, allocations: 1.885 MB / 418.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.3657, allocations: 3.938 kB / 418.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.3658, allocations: 67.28 kB / 418.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/0.3659, allocations: 44.88 kB / 418.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/0.3691, allocations: 1.679 MB / 420.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/0.3793, allocations: 5.455 MB / 425.9 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.3818, allocations: 1.062 MB / 427 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008035/0.3826, allocations: 483.1 kB / 427.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002858/0.3855, allocations: 1.365 MB / 428.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.3855, allocations: 42.69 kB / 428.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.014e-06/0.3855, allocations: 4 kB / 428.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003479/0.389, allocations: 1.332 MB / 430.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.3891, allocations: 85.05 kB / 430.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.3908, allocations: 1.028 MB / 431.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.3909, allocations: 37.7 kB / 431.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005836/0.3914, allocations: 0.6986 MB / 432 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.3916, allocations: 194.4 kB / 432.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.3918, allocations: 126.3 kB / 432.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.392, allocations: 338 kB / 432.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.3926, allocations: 357 kB / 433 MB, free: 14.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/0.3934, allocations: 0.517 MB / 433.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.3949, allocations: 0.8749 MB / 434.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3949, allocations: 4 kB / 434.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001877/0.3967, allocations: 1.005 MB / 435.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3968, allocations: 8.562 kB / 435.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.3968, allocations: 11.94 kB / 435.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.353e-05/0.3968, allocations: 8 kB / 435.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/0.3976, allocations: 187.7 kB / 435.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.3976, allocations: 8 kB / 435.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007062/0.3983, allocations: 87.47 kB / 435.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.3984, allocations: 28 kB / 435.8 MB, free: 11.27 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.001078/0.3995, allocations: 0.5286 MB / 436.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.3998, allocations: 91.44 kB / 436.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.4014, allocations: 0.6773 MB / 437.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.4015, allocations: 8.281 kB / 437.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/0.4015, allocations: 7.938 kB / 437.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.4015, allocations: 3.984 kB / 437.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/0.4055, allocations: 1.644 MB / 438.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.4055, allocations: 0 / 438.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.406, allocations: 95.81 kB / 438.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/0.4065, allocations: 156.7 kB / 439 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/0.4066, allocations: 19.98 kB / 439 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003782/0.4104, allocations: 2.742 MB / 441.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4104, allocations: 4.062 kB / 441.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.413, allocations: 1.47 MB / 443.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/0.4135, allocations: 123.3 kB / 443.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.4137, allocations: 12 kB / 443.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.4144, allocations: 67.88 kB / 443.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.4145, allocations: 55.83 kB / 443.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.4146, allocations: 19.98 kB / 443.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001461/0.416, allocations: 0.7293 MB / 444.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.416, allocations: 4 kB / 444.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001542/0.4176, allocations: 358.9 kB / 444.6 MB, free: 2.238 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.003387/0.4209, allocations: 2.048 MB / 446.6 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.4225, allocations: 0.7482 MB / 447.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4225, allocations: 4 kB / 447.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.4237, allocations: 0.5795 MB / 447.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.425, allocations: 188 kB / 448.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/0.444, allocations: 10.55 MB / 458.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.4458, allocations: 1.495 MB / 460.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006994/0.4465, allocations: 234.7 kB / 460.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/0.4473, allocations: 487.3 kB / 460.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4473, allocations: 3.938 kB / 460.9 MB, free: 1.551 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07304/0.5203, allocations: 23.71 MB / 484.6 MB, free: 9.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.01, allocations: 0 / 484.6 MB, free: 9.754 MB / 398.1 MB " [Timeout remaining time 646] (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: 17.655137981055304]