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.001264/0.001264, allocations: 111.6 kB / 18.45 MB, free: 4.59 MB / 14.72 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.001352/0.001352, allocations: 215.2 kB / 21.42 MB, free: 1.629 MB / 14.72 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 1.559/1.559, allocations: 207.6 MB / 231.8 MB, free: 4.219 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 51.92 kB / 342.3 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1062, allocations: 49.13 MB / 391.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004992/0.1112, allocations: 3.258 MB / 394.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.1138, allocations: 1.363 MB / 396 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.114, allocations: 8 kB / 396 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.1145, allocations: 147.1 kB / 396.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008295/0.1153, allocations: 314.2 kB / 396.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.1159, allocations: 271.1 kB / 396.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007595/0.1166, allocations: 446 kB / 397.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.1169, allocations: 108.2 kB / 397.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.1172, allocations: 171.4 kB / 397.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.1176, allocations: 203.1 kB / 397.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.1176, allocations: 36 kB / 397.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.118, allocations: 159.9 kB / 397.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.051e-05/0.1181, allocations: 79.7 kB / 397.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.1184, allocations: 198.9 kB / 398.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008552/0.1192, allocations: 0.5292 MB / 398.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1192, allocations: 7.984 kB / 398.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1192, allocations: 0 / 398.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1193, allocations: 0 / 398.7 MB, free: 1.457 MB / 318.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.001653/0.1209, allocations: 0.7481 MB / 399.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.121, allocations: 15.95 kB / 399.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.99e-05/0.1211, allocations: 74.72 kB / 399.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000604/0.1217, allocations: 92.61 kB / 399.6 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.1222, allocations: 308.7 kB / 399.9 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.1222, allocations: 29.38 kB / 399.9 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.1223, allocations: 36.36 kB / 400 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/0.1229, allocations: 357.5 kB / 400.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1229, allocations: 0 / 400.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.123, allocations: 16 kB / 400.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.123, allocations: 8 kB / 400.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.1235, allocations: 250.1 kB / 400.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.1257, allocations: 1.308 MB / 401.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.1261, allocations: 189.1 kB / 402.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1262, allocations: 85.67 kB / 402.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008762/0.1271, allocations: 0.8675 MB / 403 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.1272, allocations: 42.5 kB / 403.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.1272, allocations: 0 / 403.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005885/0.1278, allocations: 229.6 kB / 403.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.1278, allocations: 85.09 kB / 403.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.1281, allocations: 279.1 kB / 403.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.1282, allocations: 29.7 kB / 403.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.1283, allocations: 248 kB / 403.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.1284, allocations: 59.53 kB / 404 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.1285, allocations: 65.98 kB / 404 MB, free: 11.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1287, allocations: 334.8 kB / 404.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.1288, allocations: 68.61 kB / 404.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.1291, allocations: 202.3 kB / 404.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.1295, allocations: 284.9 kB / 404.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.1295, allocations: 0 / 404.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005783/0.1301, allocations: 321.5 kB / 405.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1301, allocations: 15.94 kB / 405.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.1301, allocations: 4 kB / 405.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.1302, allocations: 11.94 kB / 405.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.1305, allocations: 75.89 kB / 405.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.1305, allocations: 11.94 kB / 405.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.1307, allocations: 43.67 kB / 405.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1307, allocations: 19.98 kB / 405.4 MB, free: 10.19 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.0001625/0.1309, allocations: 153.8 kB / 405.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.131, allocations: 31.84 kB / 405.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.131, allocations: 29.67 kB / 405.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.131, allocations: 7.938 kB / 405.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.131, allocations: 0 / 405.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.131, allocations: 3.938 kB / 405.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.1318, allocations: 0.5069 MB / 406.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1318, allocations: 3.938 kB / 406.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.132, allocations: 51.94 kB / 406.2 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.132, allocations: 0 / 406.2 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.132, allocations: 4 kB / 406.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.132, allocations: 7.984 kB / 406.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.132, allocations: 320 / 406.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/0.1326, allocations: 423.4 kB / 406.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.1327, allocations: 108.8 kB / 406.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.1327, allocations: 8 kB / 406.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.1329, allocations: 11.98 kB / 406.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.133, allocations: 19.92 kB / 406.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.133, allocations: 4 kB / 406.7 MB, free: 8.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.1332, allocations: 198 kB / 406.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1332, allocations: 0 / 406.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004397/0.1337, allocations: 79.84 kB / 407 MB, free: 8.453 MB / 334.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.0009672/0.1346, allocations: 0.9662 MB / 408 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004138/0.135, allocations: 184.1 kB / 408.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.135, allocations: 0 / 408.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.1352, allocations: 71.78 kB / 408.2 MB, free: 7.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.1356, allocations: 33.09 kB / 408.3 MB, free: 7.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.1396, allocations: 3.101 MB / 411.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.14, allocations: 0.7753 MB / 412.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.1401, allocations: 30.97 kB / 412.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.1403, allocations: 107.4 kB / 412.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1403, allocations: 0 / 412.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.1696, allocations: 5.53 MB / 417.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.312, allocations: 15.69 kB / 417.8 MB, free: 13.33 MB / 350.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/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: 11.149808694011881]