Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001867/0.001867, 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.00214/0.00214, 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.407/1.407, 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.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",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.001851/0.001851, allocations: 51.92 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.275, allocations: 49.17 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004043/0.279, allocations: 3.271 MB / 399.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.2809, allocations: 1.355 MB / 401 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.2811, allocations: 12 kB / 401 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.2815, allocations: 145.6 kB / 401.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007284/0.2822, allocations: 323.3 kB / 401.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.2827, allocations: 259.3 kB / 401.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005887/0.2833, allocations: 447.4 kB / 402.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.2835, allocations: 114.3 kB / 402.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.2837, allocations: 170.4 kB / 402.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.284, allocations: 201.9 kB / 402.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/0.284, allocations: 35.16 kB / 402.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.2844, allocations: 162.6 kB / 402.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.639e-05/0.2844, allocations: 87.91 kB / 402.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.2846, allocations: 192.5 kB / 403.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006743/0.2853, allocations: 0.5343 MB / 403.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2853, allocations: 4.969 kB / 403.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2853, allocations: 0 / 403.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.2853, allocations: 0 / 403.6 MB, free: 4.367 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001325/0.2866, allocations: 0.6717 MB / 404.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2867, allocations: 14.27 kB / 404.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.365e-05/0.2867, allocations: 73.88 kB / 404.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000573/0.2873, allocations: 99.33 kB / 404.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.2877, allocations: 249.4 kB / 404.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.2877, allocations: 26.44 kB / 404.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.2878, allocations: 38.12 kB / 404.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.2883, allocations: 353 kB / 405.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2884, allocations: 1.078 kB / 405.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.2884, allocations: 19.19 kB / 405.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2884, allocations: 7.719 kB / 405.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.2889, allocations: 244 kB / 405.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.2908, allocations: 1.27 MB / 406.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.2911, allocations: 184.9 kB / 406.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.2913, allocations: 83.11 kB / 406.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006002/0.2919, allocations: 0.5439 MB / 407.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2919, allocations: 38.11 kB / 407.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.2919, allocations: 0 / 407.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005524/0.2924, allocations: 231.2 kB / 407.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.2925, allocations: 87.27 kB / 407.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.2927, allocations: 286.2 kB / 408.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2928, allocations: 27.23 kB / 408.1 MB, free: 1.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.2929, allocations: 240 kB / 408.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.2929, allocations: 66.47 kB / 408.4 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.293, allocations: 66.17 kB / 408.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.2931, allocations: 336.8 kB / 408.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.2932, allocations: 71.53 kB / 408.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.2934, allocations: 193.5 kB / 409.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.2937, allocations: 286.8 kB / 409.4 MB, free: 272 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2937, allocations: 1.281 kB / 409.4 MB, free: 272 kB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000479/0.2942, allocations: 314.2 kB / 409.7 MB, free: 128 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2942, allocations: 7.812 kB / 409.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2942, allocations: 5.391 kB / 409.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.2943, allocations: 14.75 kB / 409.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.2945, allocations: 79.05 kB / 409.8 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.2946, allocations: 8.469 kB / 409.8 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.2947, allocations: 42.8 kB / 409.8 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.2948, allocations: 13.12 kB / 409.8 MB, free: 84 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001602/0.2949, allocations: 158.8 kB / 410 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.295, allocations: 30.2 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.2951, allocations: 31.91 kB / 410 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2951, allocations: 10.14 kB / 410.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2951, allocations: 1.375 kB / 410.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.2951, allocations: 0.9375 kB / 410.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/0.2958, allocations: 490.3 kB / 410.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2958, allocations: 5.469 kB / 410.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.296, allocations: 48.98 kB / 410.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.296, allocations: 1.469 kB / 410.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.296, allocations: 1.875 kB / 410.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.296, allocations: 6.828 kB / 410.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2961, allocations: 5.375 kB / 410.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005688/0.2966, allocations: 421.2 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.2967, allocations: 29.94 kB / 411 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.2967, allocations: 5.797 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2969, allocations: 11.2 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.297, allocations: 15.27 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.297, allocations: 5.109 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.2972, allocations: 200.4 kB / 411.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2972, allocations: 8 kB / 411.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004441/0.2977, allocations: 85.06 kB / 411.4 MB, free: 15.03 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0009351/0.2986, allocations: 0.9572 MB / 412.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004204/0.299, allocations: 186.8 kB / 412.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.299, allocations: 0 / 412.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2992, allocations: 70.69 kB / 412.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.2996, allocations: 30.58 kB / 412.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.3036, allocations: 3.111 MB / 415.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.3041, allocations: 0.7762 MB / 416.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.3042, allocations: 29.38 kB / 416.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.3044, allocations: 106.4 kB / 416.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3044, allocations: 3.938 kB / 416.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.3405, allocations: 5.797 MB / 422.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.57, allocations: 5.328 kB / 422.4 MB, free: 7.848 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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: 14.322223450995807]