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.000995/0.000995, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003935/0.003935, allocations: 162 kB / 24.69 MB, free: 8.891 MB / 18.57 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 0.8563/0.8563, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.104e-05, allocations: 2.281 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002928/0.002949, allocations: 2.995 MB / 301.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1124/0.1153, allocations: 1.243 MB / 302.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.1155, allocations: 6 kB / 302.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.1159, allocations: 148.3 kB / 302.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005752/0.1164, allocations: 319.2 kB / 303.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1167, allocations: 250.2 kB / 303.4 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.1171, allocations: 464 kB / 303.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1173, allocations: 98.67 kB / 303.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1175, allocations: 242.5 kB / 304.2 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1177, allocations: 153.2 kB / 304.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.1177, allocations: 34.78 kB / 304.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.1179, allocations: 155.3 kB / 304.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.118, allocations: 87.5 kB / 304.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.208e-05/0.1181, allocations: 130.5 kB / 304.7 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.1185, allocations: 0.5461 MB / 305.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1186, allocations: 0 / 305.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1186, allocations: 1.688 kB / 305.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1186, allocations: 1.281 kB / 305.3 MB, free: 12.71 MB / 282.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.0009045/0.1195, allocations: 0.6756 MB / 305.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1195, allocations: 13.17 kB / 305.9 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.1196, allocations: 73.56 kB / 306 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003314/0.1199, allocations: 98.11 kB / 306.1 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.1202, allocations: 246.8 kB / 306.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1203, allocations: 27.61 kB / 306.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.1203, allocations: 35.23 kB / 306.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.1207, allocations: 408.6 kB / 306.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1207, allocations: 1.312 kB / 306.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1207, allocations: 12.78 kB / 306.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.1207, allocations: 13.09 kB / 306.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.121, allocations: 243.2 kB / 307.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.1223, allocations: 1.183 MB / 308.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.1225, allocations: 185.6 kB / 308.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-05/0.1226, allocations: 75.8 kB / 308.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004061/0.123, allocations: 0.5324 MB / 309 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.123, allocations: 37.8 kB / 309.1 MB, free: 10.1 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.1231, allocations: 0 / 309.1 MB, free: 10.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003657/0.1234, allocations: 217.2 kB / 309.3 MB, free: 10 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.1234, allocations: 84.33 kB / 309.4 MB, free: 9.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1236, allocations: 287.8 kB / 309.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.1237, allocations: 31.02 kB / 309.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.687e-05/0.1237, allocations: 250.3 kB / 309.9 MB, free: 9.496 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1238, allocations: 59.52 kB / 310 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.1238, allocations: 63.03 kB / 310.1 MB, free: 9.406 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.1239, allocations: 340.8 kB / 310.4 MB, free: 9.078 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.124, allocations: 67.52 kB / 310.5 MB, free: 9.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1241, allocations: 197.8 kB / 310.6 MB, free: 8.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.1243, allocations: 299.9 kB / 310.9 MB, free: 8.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.1243, allocations: 6.484 kB / 310.9 MB, free: 8.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003248/0.1247, allocations: 313.9 kB / 311.3 MB, free: 8.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1247, allocations: 11.95 kB / 311.3 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.1247, allocations: 4.125 kB / 311.3 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1247, allocations: 6.688 kB / 311.3 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.1249, allocations: 75.77 kB / 311.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1249, allocations: 11.58 kB / 311.4 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.125, allocations: 43.2 kB / 311.4 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.125, allocations: 21.16 kB / 311.4 MB, free: 8.434 MB / 282.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 8.63e-05/0.1251, allocations: 155.9 kB / 311.6 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.1251, allocations: 24.83 kB / 311.6 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.1252, allocations: 29.12 kB / 311.6 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1252, allocations: 3.062 kB / 311.6 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1252, allocations: 0.6562 kB / 311.6 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1252, allocations: 0.6562 kB / 311.6 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.1256, allocations: 470.1 kB / 312.1 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1256, allocations: 6.391 kB / 312.1 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1257, allocations: 48.41 kB / 312.1 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1257, allocations: 1.188 kB / 312.1 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1257, allocations: 2.875 kB / 312.1 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1257, allocations: 10.72 kB / 312.2 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1257, allocations: 1.156 kB / 312.2 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.1261, allocations: 418.7 kB / 312.6 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.1261, allocations: 31.14 kB / 312.6 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1261, allocations: 6.594 kB / 312.6 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1262, allocations: 16.55 kB / 312.6 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.1263, allocations: 14 kB / 312.6 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1263, allocations: 5.906 kB / 312.6 MB, free: 7.559 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1264, allocations: 195.7 kB / 312.8 MB, free: 7.449 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1264, allocations: 0 / 312.8 MB, free: 7.449 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.1267, allocations: 84.97 kB / 312.9 MB, free: 7.426 MB / 282.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.0004583/0.1271, allocations: 0.9734 MB / 313.9 MB, free: 6.594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.1274, allocations: 179.8 kB / 314.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1274, allocations: 0 / 314.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.995e-05/0.1275, allocations: 66.55 kB / 314.1 MB, free: 6.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1278, allocations: 31.16 kB / 314.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.13, allocations: 3.061 MB / 317.2 MB, free: 4.273 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.1301, allocations: 167.2 kB / 317.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.334e-05/0.1302, allocations: 35.31 kB / 317.4 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.1303, allocations: 107.5 kB / 317.5 MB, free: 4.098 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1303, allocations: 0 / 317.5 MB, free: 4.098 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.1528, allocations: 6.248 MB / 323.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/7.009, allocations: 17 kB / 323.8 MB, free: 1.676 MB / 282.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/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: 8.723076148889959]