Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001841/0.001841, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.00237/0.00237, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.459/1.459, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 47.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3105, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005516/0.3161, allocations: 3.326 MB / 426 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.3188, allocations: 1.316 MB / 427.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.319, allocations: 4 kB / 427.3 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.3195, allocations: 147.1 kB / 427.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.3207, allocations: 465.5 kB / 427.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.3211, allocations: 167.6 kB / 428 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.3217, allocations: 454.1 kB / 428.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.322, allocations: 104.7 kB / 428.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.3222, allocations: 175.3 kB / 428.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.3225, allocations: 203.1 kB / 429 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.065e-05/0.3226, allocations: 32 kB / 429 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.3229, allocations: 163.8 kB / 429.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.323, allocations: 79.75 kB / 429.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.3232, allocations: 191 kB / 429.4 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007303/0.3239, allocations: 0.5412 MB / 430 MB, free: 7.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3239, allocations: 0 / 430 MB, free: 7.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3239, allocations: 0 / 430 MB, free: 7.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.3239, allocations: 0 / 430 MB, free: 7.254 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001505/0.3254, allocations: 0.6805 MB / 430.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3255, allocations: 12.03 kB / 430.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.887e-05/0.3256, allocations: 70.72 kB / 430.7 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006015/0.3262, allocations: 100.6 kB / 430.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.3267, allocations: 246.8 kB / 431.1 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.3268, allocations: 29.38 kB / 431.1 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.3268, allocations: 32.38 kB / 431.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.3275, allocations: 357.3 kB / 431.5 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3275, allocations: 0 / 431.5 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.3275, allocations: 16 kB / 431.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.3275, allocations: 11.94 kB / 431.5 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.3281, allocations: 249.8 kB / 431.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.3303, allocations: 1.253 MB / 433 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.3307, allocations: 189.2 kB / 433.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.3309, allocations: 81.67 kB / 433.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007552/0.3317, allocations: 0.5459 MB / 433.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.3317, allocations: 34.56 kB / 433.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/0.3317, allocations: 4 kB / 433.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005841/0.3323, allocations: 221.3 kB / 434.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.3324, allocations: 81.05 kB / 434.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.3327, allocations: 292.3 kB / 434.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3327, allocations: 25.7 kB / 434.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.3329, allocations: 244 kB / 434.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.333, allocations: 63.44 kB / 434.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3331, allocations: 73.91 kB / 434.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3332, allocations: 338.8 kB / 435.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.3334, allocations: 64.62 kB / 435.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.3337, allocations: 205.5 kB / 435.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.3341, allocations: 288.9 kB / 435.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3341, allocations: 4.188 kB / 435.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005431/0.3347, allocations: 312.2 kB / 436 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3347, allocations: 8 kB / 436 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3347, allocations: 8 kB / 436 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.3347, allocations: 8.5 kB / 436 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.335, allocations: 87.84 kB / 436.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.335, allocations: 7.984 kB / 436.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3352, allocations: 39.73 kB / 436.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3353, allocations: 12 kB / 436.2 MB, free: 0.6211 MB / 334.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.0001639/0.3354, allocations: 165.6 kB / 436.3 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.3355, allocations: 27.81 kB / 436.4 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.3356, allocations: 29.73 kB / 436.4 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3356, allocations: 11.94 kB / 436.4 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3356, allocations: 0 / 436.4 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3356, allocations: 0 / 436.4 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000728/0.3363, allocations: 490.2 kB / 436.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3363, allocations: 3.938 kB / 436.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.3365, allocations: 43.97 kB / 436.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3365, allocations: 4 kB / 436.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3365, allocations: 4.031 kB / 436.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3365, allocations: 4 kB / 436.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3365, allocations: 3.938 kB / 436.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.3371, allocations: 415.3 kB / 437.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.3371, allocations: 39.77 kB / 437.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.3372, allocations: 8 kB / 437.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3374, allocations: 15.98 kB / 437.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.3374, allocations: 7.984 kB / 437.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.3374, allocations: 4 kB / 437.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.3377, allocations: 199.1 kB / 437.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3377, allocations: 0 / 437.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.3381, allocations: 87.78 kB / 437.7 MB, free: 15 MB / 350.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.000919/0.339, allocations: 0.974 MB / 438.7 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.3394, allocations: 176.6 kB / 438.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3394, allocations: 4.188 kB / 438.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3396, allocations: 67.91 kB / 438.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.34, allocations: 28.97 kB / 438.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.3441, allocations: 3.116 MB / 442.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.3446, allocations: 0.7753 MB / 442.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.3447, allocations: 34.97 kB / 442.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.3449, allocations: 107.4 kB / 443 MB, free: 9.465 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3449, allocations: 0 / 443 MB, free: 9.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.3796, allocations: 5.815 MB / 448.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.57, allocations: 14.11 kB / 448.8 MB, free: 3.793 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.401966291999997]