Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001169/0.001169, allocations: 83.69 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.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.001635/0.001635, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8991/0.8991, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 324.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.813e-05, allocations: 11.77 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002986/0.003004, allocations: 3.05 MB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.004547, allocations: 1.335 MB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.004715, allocations: 11.94 kB / 329 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.00504, allocations: 139 kB / 329.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008375/0.005878, allocations: 421.5 kB / 329.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.006153, allocations: 175.5 kB / 329.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.006633, allocations: 485.8 kB / 330.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.00679, allocations: 96.84 kB / 330.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.00701, allocations: 255.4 kB / 330.5 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.007165, allocations: 147.6 kB / 330.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.007201, allocations: 36 kB / 330.7 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.007435, allocations: 163.7 kB / 330.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.007482, allocations: 87.61 kB / 330.9 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.007569, allocations: 135.7 kB / 331.1 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.008027, allocations: 0.5529 MB / 331.6 MB, free: 8.875 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.008029, allocations: 0 / 331.6 MB, free: 8.875 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.008031, allocations: 0 / 331.6 MB, free: 8.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.008035, allocations: 0 / 331.6 MB, free: 8.875 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0008903/0.008925, allocations: 0.6882 MB / 332.3 MB, free: 8.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.008962, allocations: 12.03 kB / 332.3 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.009014, allocations: 66.72 kB / 332.4 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/0.009394, allocations: 120.6 kB / 332.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.009729, allocations: 258.9 kB / 332.7 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.009748, allocations: 21.38 kB / 332.8 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.009786, allocations: 36.38 kB / 332.8 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.01021, allocations: 405 kB / 333.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.01022, allocations: 4.172 kB / 333.2 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.01024, allocations: 20.12 kB / 333.2 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.01025, allocations: 12 kB / 333.2 MB, free: 7.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.01056, allocations: 241.8 kB / 333.5 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.01184, allocations: 1.188 MB / 334.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.01209, allocations: 175.7 kB / 334.8 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.229e-05/0.01218, allocations: 81.67 kB / 334.9 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004824/0.01266, allocations: 0.5613 MB / 335.5 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.01268, allocations: 34.56 kB / 335.5 MB, free: 4.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.01268, allocations: 0 / 335.5 MB, free: 4.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.000335/0.01302, allocations: 225.3 kB / 335.7 MB, free: 4.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.01305, allocations: 81.11 kB / 335.8 MB, free: 4.426 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.01325, allocations: 300.1 kB / 336.1 MB, free: 4.125 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.01327, allocations: 33.7 kB / 336.1 MB, free: 4.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.01337, allocations: 236.1 kB / 336.4 MB, free: 3.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.01341, allocations: 71.41 kB / 336.4 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.01348, allocations: 65.98 kB / 336.5 MB, free: 3.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.01356, allocations: 330.8 kB / 336.8 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.01366, allocations: 76.61 kB / 336.9 MB, free: 3.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.01381, allocations: 198.3 kB / 337.1 MB, free: 3.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.01406, allocations: 288.9 kB / 337.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.01406, allocations: 4 kB / 337.4 MB, free: 2.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00032/0.01438, allocations: 321.3 kB / 337.7 MB, free: 2.379 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.0144, allocations: 8 kB / 337.7 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.0144, allocations: 8 kB / 337.7 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01441, allocations: 8 kB / 337.7 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.01456, allocations: 75.89 kB / 337.8 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.01457, allocations: 11.94 kB / 337.8 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.997e-05/0.01467, allocations: 39.97 kB / 337.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.01468, allocations: 15.98 kB / 337.8 MB, free: 2.215 MB / 298.7 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 9.669e-05/0.01478, allocations: 161.7 kB / 338 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.01482, allocations: 27.81 kB / 338 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.01486, allocations: 37.84 kB / 338.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01486, allocations: 0 / 338.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01486, allocations: 4 kB / 338.1 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01487, allocations: 3.938 kB / 338.1 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.01529, allocations: 466.3 kB / 338.5 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01529, allocations: 0 / 338.5 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.0154, allocations: 47.91 kB / 338.6 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.0154, allocations: 0 / 338.6 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.01541, allocations: 11.97 kB / 338.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.01541, allocations: 4 kB / 338.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01541, allocations: 0 / 338.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.01574, allocations: 422.2 kB / 339 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.01577, allocations: 27.81 kB / 339 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.01579, allocations: 11.94 kB / 339 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01589, allocations: 11.98 kB / 339.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.01593, allocations: 16.05 kB / 339.1 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.01594, allocations: 4 kB / 339.1 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.01606, allocations: 211 kB / 339.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01606, allocations: 0 / 339.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002816/0.01634, allocations: 83.78 kB / 339.4 MB, free: 0.6055 MB / 298.7 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.0005166/0.01686, allocations: 0.9662 MB / 340.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.0171, allocations: 184.5 kB / 340.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.0171, allocations: 0 / 340.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.01718, allocations: 72.16 kB / 340.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.01746, allocations: 33.16 kB / 340.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.01977, allocations: 3.076 MB / 343.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.01988, allocations: 164.8 kB / 343.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.913e-05/0.01995, allocations: 34.95 kB / 343.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.866e-05/0.02005, allocations: 104.5 kB / 344 MB, free: 11.73 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02005, allocations: 0 / 344 MB, free: 11.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.04461, allocations: 6.342 MB / 350.3 MB, free: 5.562 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.752, allocations: 2.812 kB / 350.3 MB, free: 5.562 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.56791266426444]