Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001676/0.001676, allocations: 120.8 kB / 17.79 MB, free: 5.285 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.002153/0.002153, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.428/1.428, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 55.91 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09978, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004067/0.1038, allocations: 2.754 MB / 420.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1053, allocations: 0.8839 MB / 421.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.1055, allocations: 4 kB / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.1057, allocations: 55.5 kB / 421.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.1059, allocations: 99.17 kB / 421.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.1062, allocations: 107.8 kB / 421.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.1065, allocations: 358.6 kB / 422 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1067, allocations: 77.7 kB / 422.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.1069, allocations: 131.5 kB / 422.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.107, allocations: 155.4 kB / 422.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.1071, allocations: 28 kB / 422.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.506e-05/0.1071, allocations: 28 kB / 422.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.1072, allocations: 63.77 kB / 422.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.1073, allocations: 159.1 kB / 422.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.1077, allocations: 366.5 kB / 423 MB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1077, allocations: 0 / 423 MB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1077, allocations: 0 / 423 MB, free: 7.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1077, allocations: 0 / 423 MB, free: 7.375 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008989/0.1086, allocations: 0.6078 MB / 423.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1087, allocations: 15.89 kB / 423.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.1087, allocations: 70.66 kB / 423.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.1088, allocations: 32.75 kB / 423.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.1091, allocations: 272.1 kB / 424 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1092, allocations: 16.94 kB / 424 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.1092, allocations: 28.38 kB / 424 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.1097, allocations: 253 kB / 424.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1097, allocations: 0 / 424.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.1097, allocations: 8 kB / 424.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1097, allocations: 8 kB / 424.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.1102, allocations: 210.1 kB / 424.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.1118, allocations: 1.002 MB / 425.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.1123, allocations: 186.5 kB / 425.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.1125, allocations: 104.8 kB / 425.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.1125, allocations: 96 / 425.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.1126, allocations: 46.48 kB / 425.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.162e-06/0.1126, allocations: 0 / 425.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005117/0.1177, allocations: 1.528 MB / 427.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1177, allocations: 63.2 kB / 427.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.118, allocations: 229 kB / 427.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.118, allocations: 37.7 kB / 427.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1181, allocations: 188.5 kB / 427.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.1182, allocations: 126.9 kB / 428 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1183, allocations: 66.03 kB / 428.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1185, allocations: 334.8 kB / 428.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.1187, allocations: 108.7 kB / 428.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.119, allocations: 161.5 kB / 428.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.1195, allocations: 276 kB / 428.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1195, allocations: 3.984 kB / 428.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001554/0.1211, allocations: 0.5333 MB / 429.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1211, allocations: 4 kB / 429.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1211, allocations: 0 / 429.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.1223, allocations: 241.5 kB / 429.7 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.1226, allocations: 67.83 kB / 429.8 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004975/0.1276, allocations: 4.137 MB / 433.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.1278, allocations: 12 kB / 433.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.1278, allocations: 16.05 kB / 433.9 MB, free: 11.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.128, allocations: 149.7 kB / 434.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.1281, allocations: 28.14 kB / 434.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.216e-05/0.1282, allocations: 38.95 kB / 434.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1282, allocations: 7.938 kB / 434.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.1282, allocations: 3.938 kB / 434.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1282, allocations: 0 / 434.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.1303, allocations: 0.9929 MB / 435.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1303, allocations: 0 / 435.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.1305, allocations: 39.97 kB / 435.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.1317, allocations: 241.5 kB / 435.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.1317, allocations: 8 kB / 435.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004743/0.1365, allocations: 4.122 MB / 439.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.1365, allocations: 4.031 kB / 439.6 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.1383, allocations: 0.7209 MB / 440.3 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.1383, allocations: 105.2 kB / 440.4 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.1384, allocations: 15.94 kB / 440.4 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.1386, allocations: 11.98 kB / 440.4 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.1387, allocations: 35.97 kB / 440.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.1387, allocations: 11.98 kB / 440.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.1389, allocations: 164.5 kB / 440.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1389, allocations: 0 / 440.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005854/0.1395, allocations: 96 kB / 440.7 MB, free: 4.598 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002098/0.1416, allocations: 1.277 MB / 442 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.1426, allocations: 0.5554 MB / 442.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1426, allocations: 0 / 442.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005869/0.1432, allocations: 417.5 kB / 443 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1435, allocations: 34.81 kB / 443 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2325/0.376, allocations: 3.342 MB / 446.3 MB, free: 29.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3762, allocations: 0.7758 MB / 447.1 MB, free: 28.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.3763, allocations: 17.83 kB / 447.1 MB, free: 28.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3764, allocations: 96.83 kB / 447.2 MB, free: 28.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3765, allocations: 0 / 447.2 MB, free: 28.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04433/0.4208, allocations: 8.468 MB / 455.7 MB, free: 27.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.21, allocations: 5.484 kB / 455.7 MB, free: 27.75 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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: 15.830951943993568]