Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001485/0.001485, allocations: 113 kB / 18.49 MB, free: 4.539 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.001634/0.001634, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 55.92 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1069, allocations: 53.34 MB / 427 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004183/0.1111, allocations: 2.779 MB / 429.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1127, allocations: 0.9579 MB / 430.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1128, allocations: 7.938 kB / 430.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.113, allocations: 55.52 kB / 430.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.1133, allocations: 107.2 kB / 430.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1136, allocations: 119.7 kB / 431 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.114, allocations: 350.7 kB / 431.4 MB, free: 440 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.1142, allocations: 77.69 kB / 431.5 MB, free: 356 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.1144, allocations: 151.4 kB / 431.6 MB, free: 204 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.1146, allocations: 147.3 kB / 431.7 MB, free: 56 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.1147, allocations: 28 kB / 431.8 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.682e-05/0.1148, allocations: 32.05 kB / 431.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.1148, allocations: 71.7 kB / 431.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.115, allocations: 163.2 kB / 432 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.1154, allocations: 366.4 kB / 432.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1154, allocations: 0 / 432.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1154, allocations: 0 / 432.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1154, allocations: 0 / 432.4 MB, free: 15.41 MB / 366.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.001077/0.1165, allocations: 0.631 MB / 433 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1166, allocations: 8.031 kB / 433 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.031e-05/0.1166, allocations: 12.69 kB / 433 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/0.1166, allocations: 58.73 kB / 433.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.1168, allocations: 40.73 kB / 433.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.1172, allocations: 264.8 kB / 433.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1172, allocations: 24.94 kB / 433.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.1173, allocations: 32.38 kB / 433.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.1178, allocations: 252.7 kB / 433.7 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1178, allocations: 0 / 433.7 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.1178, allocations: 8 kB / 433.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1179, allocations: 8 kB / 433.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.1183, allocations: 214.1 kB / 433.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.12, allocations: 1.006 MB / 434.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.1204, allocations: 190.5 kB / 435.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.1207, allocations: 100.8 kB / 435.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1207, allocations: 4.062 kB / 435.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1208, allocations: 38.56 kB / 435.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.344e-06/0.1208, allocations: 0 / 435.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.005284/0.126, allocations: 1.556 MB / 436.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1261, allocations: 59.41 kB / 436.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.1264, allocations: 233 kB / 437.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1264, allocations: 29.7 kB / 437.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.1266, allocations: 188.4 kB / 437.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.1267, allocations: 126.9 kB / 437.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1268, allocations: 66.06 kB / 437.5 MB, free: 9.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.127, allocations: 346.8 kB / 437.8 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.1273, allocations: 112.7 kB / 438 MB, free: 9.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.1275, allocations: 149.7 kB / 438.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.1281, allocations: 291.6 kB / 438.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1281, allocations: 0 / 438.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001571/0.1297, allocations: 0.5296 MB / 438.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1297, allocations: 10.19 kB / 438.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1297, allocations: 3.938 kB / 438.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.1309, allocations: 237.5 kB / 439.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.1312, allocations: 59.91 kB / 439.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005283/0.1365, allocations: 4.14 MB / 443.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.1368, allocations: 16.02 kB / 443.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.1368, allocations: 15.98 kB / 443.4 MB, free: 3.754 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.0001995/0.137, allocations: 153.7 kB / 443.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.1371, allocations: 23.86 kB / 443.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1372, allocations: 46.95 kB / 443.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1372, allocations: 4.062 kB / 443.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1372, allocations: 4 kB / 443.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1372, allocations: 3.984 kB / 443.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.1394, allocations: 0.9688 MB / 444.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1394, allocations: 0 / 444.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.1397, allocations: 47.97 kB / 444.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.1408, allocations: 237.5 kB / 444.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.1409, allocations: 15.92 kB / 444.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2114/0.3523, allocations: 4.114 MB / 449 MB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3523, allocations: 2.625 kB / 449 MB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.354, allocations: 0.7218 MB / 449.7 MB, free: 22.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.3541, allocations: 102.1 kB / 449.8 MB, free: 22.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.3541, allocations: 13.62 kB / 449.8 MB, free: 22.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3543, allocations: 16.12 kB / 449.8 MB, free: 22.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.3544, allocations: 33.36 kB / 449.9 MB, free: 22.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.3545, allocations: 14.08 kB / 449.9 MB, free: 22.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.3546, allocations: 165.2 kB / 450.1 MB, free: 22.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3546, allocations: 0 / 450.1 MB, free: 22.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005996/0.3552, allocations: 101.2 kB / 450.2 MB, free: 22.18 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.001832/0.357, allocations: 1.273 MB / 451.4 MB, free: 21.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009939/0.358, allocations: 0.5448 MB / 452 MB, free: 21.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.358, allocations: 4.344 kB / 452 MB, free: 21.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005703/0.3586, allocations: 424.8 kB / 452.4 MB, free: 21.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.359, allocations: 25.59 kB / 452.4 MB, free: 21.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/0.3648, allocations: 3.374 MB / 455.8 MB, free: 19.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3651, allocations: 0.7777 MB / 456.6 MB, free: 18.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.3652, allocations: 21.23 kB / 456.6 MB, free: 18.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3653, allocations: 99.48 kB / 456.7 MB, free: 18.25 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3653, allocations: 0 / 456.7 MB, free: 18.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.4034, allocations: 8.595 MB / 465.3 MB, free: 17.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.9, allocations: 2.812 kB / 465.3 MB, free: 17.12 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.646274756989442]