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.001696/0.001696, allocations: 115.6 kB / 18.49 MB, free: 4.566 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.001732/0.001732, allocations: 190.7 kB / 21.43 MB, free: 1.641 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.39/1.39, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 43.94 kB / 366.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1052, allocations: 52.15 MB / 418.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004683/0.1099, allocations: 3.291 MB / 421.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.112, allocations: 1.308 MB / 423.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1122, allocations: 11.94 kB / 423.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.1126, allocations: 143.1 kB / 423.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.1137, allocations: 473.4 kB / 423.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.114, allocations: 159.6 kB / 423.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005863/0.1146, allocations: 446.1 kB / 424.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.1148, allocations: 112.2 kB / 424.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.115, allocations: 171.3 kB / 424.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.1153, allocations: 203.1 kB / 424.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.1154, allocations: 36 kB / 424.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.1156, allocations: 155.9 kB / 425 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.1157, allocations: 87.62 kB / 425 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.1159, allocations: 195 kB / 425.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.1166, allocations: 0.5369 MB / 425.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1166, allocations: 0 / 425.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1166, allocations: 0 / 425.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.1166, allocations: 0 / 425.8 MB, free: 5.371 MB / 350.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.001481/0.1181, allocations: 0.7481 MB / 426.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1181, allocations: 16.03 kB / 426.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.66e-05/0.1181, allocations: 9.188 kB / 426.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.1182, allocations: 66.72 kB / 426.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.1188, allocations: 104.6 kB / 426.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.1193, allocations: 312.6 kB / 427 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.1193, allocations: 25.38 kB / 427 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.1194, allocations: 36.38 kB / 427.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.12, allocations: 353.3 kB / 427.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.12, allocations: 3.984 kB / 427.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.12, allocations: 12 kB / 427.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.12, allocations: 8 kB / 427.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.1205, allocations: 254.1 kB / 427.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.1225, allocations: 1.316 MB / 429 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.1229, allocations: 177.2 kB / 429.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.1231, allocations: 81.69 kB / 429.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008601/0.124, allocations: 0.8752 MB / 430.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.124, allocations: 34.56 kB / 430.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.124, allocations: 0 / 430.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005432/0.1246, allocations: 225.4 kB / 430.4 MB, free: 400 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.1246, allocations: 89.05 kB / 430.5 MB, free: 292 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.1249, allocations: 287.1 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1249, allocations: 25.7 kB / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1251, allocations: 240 kB / 431 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.1252, allocations: 67.42 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1253, allocations: 69.97 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1254, allocations: 334.8 kB / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.1256, allocations: 72.62 kB / 431.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.1258, allocations: 202.3 kB / 431.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.1262, allocations: 288.2 kB / 432 MB, free: 14.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1262, allocations: 7.938 kB / 432 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005422/0.1268, allocations: 317 kB / 432.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1268, allocations: 6.344 kB / 432.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1268, allocations: 4.562 kB / 432.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.1268, allocations: 15.94 kB / 432.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.1271, allocations: 79.84 kB / 432.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.1271, allocations: 11.98 kB / 432.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1273, allocations: 35.73 kB / 432.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.1274, allocations: 16 kB / 432.5 MB, free: 14.09 MB / 366.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.0001594/0.1275, allocations: 157.7 kB / 432.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.1276, allocations: 31.8 kB / 432.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.1276, allocations: 33.69 kB / 432.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.1276, allocations: 7.969 kB / 432.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1277, allocations: 4 kB / 432.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1277, allocations: 0 / 432.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.1284, allocations: 0.5069 MB / 433.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1284, allocations: 0 / 433.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.1286, allocations: 48.28 kB / 433.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1286, allocations: 4.031 kB / 433.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.1286, allocations: 4 kB / 433.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1286, allocations: 4 kB / 433.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1286, allocations: 4 kB / 433.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.1292, allocations: 423.2 kB / 433.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/0.1293, allocations: 104.9 kB / 433.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.1293, allocations: 4 kB / 433.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.1295, allocations: 15.98 kB / 433.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.1296, allocations: 11.98 kB / 433.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1296, allocations: 4 kB / 433.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.1298, allocations: 198 kB / 434.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1298, allocations: 4.062 kB / 434.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004258/0.1302, allocations: 87.78 kB / 434.1 MB, free: 12.35 MB / 366.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.0009108/0.1311, allocations: 0.9723 MB / 435.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000396/0.1315, allocations: 182.7 kB / 435.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1315, allocations: 4 kB / 435.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1316, allocations: 63.91 kB / 435.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.132, allocations: 25.55 kB / 435.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.1359, allocations: 3.124 MB / 438.5 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.1363, allocations: 0.7792 MB / 439.3 MB, free: 6.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.1365, allocations: 30.97 kB / 439.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.1366, allocations: 103.4 kB / 439.4 MB, free: 6.809 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1366, allocations: 0 / 439.4 MB, free: 6.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.1609, allocations: 5.581 MB / 445 MB, free: 1.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.324, allocations: 28.78 kB / 445 MB, free: 1.391 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.mat","/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: 11.338235599978361]