Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007889/0.0007889, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008107/0.0008107, allocations: 160.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8439/0.8439, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.477e-05, allocations: 3.125 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002901/0.002916, allocations: 3.055 MB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.004684, allocations: 1.32 MB / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.004885, allocations: 15.94 kB / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.005257, allocations: 146.9 kB / 329 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000827/0.006084, allocations: 421.5 kB / 329.5 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.006426, allocations: 178.5 kB / 329.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.006943, allocations: 477.8 kB / 330.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.007109, allocations: 104.8 kB / 330.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.007341, allocations: 255.4 kB / 330.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.007511, allocations: 147.5 kB / 330.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.007547, allocations: 32 kB / 330.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.007804, allocations: 167.7 kB / 330.8 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.007851, allocations: 83.67 kB / 330.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.645e-05/0.007937, allocations: 127.7 kB / 331 MB, free: 9.375 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.008418, allocations: 0.5723 MB / 331.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.00842, allocations: 0 / 331.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.008421, allocations: 0 / 331.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.008426, allocations: 0 / 331.6 MB, free: 8.801 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.0009309/0.009357, allocations: 0.6844 MB / 332.2 MB, free: 8.086 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.009393, allocations: 11.98 kB / 332.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.009447, allocations: 70.72 kB / 332.3 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/0.009819, allocations: 112.6 kB / 332.4 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.01012, allocations: 251.2 kB / 332.7 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.01014, allocations: 29.38 kB / 332.7 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.01018, allocations: 32.38 kB / 332.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.01058, allocations: 405 kB / 333.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01059, allocations: 4.125 kB / 333.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.01062, allocations: 24.06 kB / 333.2 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.01062, allocations: 8 kB / 333.2 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.01091, allocations: 245.9 kB / 333.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.01213, allocations: 1.192 MB / 334.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.01238, allocations: 185.1 kB / 334.8 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.01246, allocations: 81.69 kB / 334.9 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004562/0.01292, allocations: 0.5536 MB / 335.4 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.01294, allocations: 38.61 kB / 335.5 MB, free: 4.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.92e-07/0.01294, allocations: 3.938 kB / 335.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003234/0.01326, allocations: 209.5 kB / 335.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.0133, allocations: 81.05 kB / 335.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.01349, allocations: 308.1 kB / 336 MB, free: 4.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.01351, allocations: 29.7 kB / 336.1 MB, free: 4.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01361, allocations: 248 kB / 336.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.01364, allocations: 63.44 kB / 336.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.0137, allocations: 65.97 kB / 336.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.01378, allocations: 334.8 kB / 336.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.082e-05/0.01387, allocations: 64.62 kB / 336.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.014, allocations: 202.4 kB / 337 MB, free: 2.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.01432, allocations: 296.8 kB / 337.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01432, allocations: 0 / 337.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003117/0.01463, allocations: 319.4 kB / 337.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.01464, allocations: 11.98 kB / 337.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.01465, allocations: 4.078 kB / 337.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.01466, allocations: 4 kB / 337.7 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.01481, allocations: 80.41 kB / 337.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.01482, allocations: 15.97 kB / 337.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.871e-05/0.01491, allocations: 43.72 kB / 337.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.01493, allocations: 12 kB / 337.8 MB, free: 2.133 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.607e-05/0.01502, allocations: 157.7 kB / 338 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.01506, allocations: 31.81 kB / 338 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.0151, allocations: 25.84 kB / 338 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.0151, allocations: 4 kB / 338 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.0151, allocations: 0 / 338 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01511, allocations: 7.922 kB / 338 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.01553, allocations: 470.3 kB / 338.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01553, allocations: 0 / 338.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.01563, allocations: 39.98 kB / 338.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01564, allocations: 3.984 kB / 338.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01565, allocations: 11.94 kB / 338.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.01565, allocations: 4.25 kB / 338.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01565, allocations: 4 kB / 338.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.01597, allocations: 430.3 kB / 339 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.016, allocations: 23.8 kB / 339 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.01602, allocations: 7.938 kB / 339 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.01612, allocations: 15.98 kB / 339 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.01616, allocations: 11.97 kB / 339 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.01616, allocations: 8 kB / 339 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.01628, allocations: 203 kB / 339.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01628, allocations: 3.938 kB / 339.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000274/0.01656, allocations: 91.84 kB / 339.3 MB, free: 0.5195 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.0005027/0.01706, allocations: 0.9583 MB / 340.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.01733, allocations: 179.8 kB / 340.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.01734, allocations: 0 / 340.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.01744, allocations: 69.03 kB / 340.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.01771, allocations: 28.97 kB / 340.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.02002, allocations: 3.077 MB / 343.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.02013, allocations: 172.8 kB / 343.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.912e-05/0.0202, allocations: 34.97 kB / 343.8 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.962e-05/0.0203, allocations: 104.5 kB / 343.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of SimCode: time 5.5e-06/0.02031, allocations: 3.938 kB / 343.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.03863, allocations: 6.325 MB / 350.3 MB, free: 5.48 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/6.96, allocations: 7.203 kB / 350.3 MB, free: 5.477 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.71661566849798]