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.001758/0.001758, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002227/0.002227, allocations: 211.4 kB / 23.73 MB, free: 4.523 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.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.801 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.278, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00396/0.2819, allocations: 2.632 MB / 433.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.2834, allocations: 0.884 MB / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.2836, allocations: 4 kB / 434.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.2838, allocations: 67.44 kB / 434.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.2841, allocations: 107.2 kB / 434.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.2843, allocations: 107.8 kB / 434.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.2847, allocations: 362.6 kB / 435.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.2849, allocations: 79.66 kB / 435.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.2851, allocations: 143.4 kB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.2854, allocations: 159.3 kB / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.2854, allocations: 31.94 kB / 435.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.969e-05/0.2855, allocations: 35.94 kB / 435.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.2855, allocations: 67.77 kB / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2857, allocations: 123.5 kB / 435.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.2861, allocations: 374.4 kB / 436.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2861, allocations: 0 / 436.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2861, allocations: 4 kB / 436.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.2861, allocations: 3.984 kB / 436.2 MB, free: 1.488 MB / 334.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.0009966/0.2871, allocations: 0.5403 MB / 436.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2871, allocations: 12.03 kB / 436.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.393e-05/0.2872, allocations: 58.73 kB / 436.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.2874, allocations: 40.73 kB / 436.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.2877, allocations: 214.8 kB / 437.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.2878, allocations: 21.03 kB / 437.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.2878, allocations: 28.38 kB / 437.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.2883, allocations: 283.9 kB / 437.4 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2883, allocations: 0 / 437.4 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.2883, allocations: 8 kB / 437.4 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.2883, allocations: 8 kB / 437.4 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.2888, allocations: 214.5 kB / 437.6 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.2903, allocations: 0.8588 MB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.2907, allocations: 190.4 kB / 438.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.291, allocations: 100.8 kB / 438.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.291, allocations: 4 kB / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.291, allocations: 34.56 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.312e-06/0.291, allocations: 4 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005319/0.2963, allocations: 1.394 MB / 440.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.2964, allocations: 55.41 kB / 440.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.2966, allocations: 240.8 kB / 440.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.2967, allocations: 33.7 kB / 440.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.2968, allocations: 192.5 kB / 440.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.572e-05/0.2969, allocations: 115 kB / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.297, allocations: 70.02 kB / 440.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2972, allocations: 334.8 kB / 441.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.2974, allocations: 108.7 kB / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.2977, allocations: 161.4 kB / 441.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005102/0.2982, allocations: 291.6 kB / 441.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2982, allocations: 3.938 kB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001609/0.2998, allocations: 0.5296 MB / 442.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2998, allocations: 7.984 kB / 442.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.2998, allocations: 8 kB / 442.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.3012, allocations: 233.4 kB / 442.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.3014, allocations: 59.91 kB / 442.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004937/0.3064, allocations: 3.9 MB / 446.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.3066, allocations: 12.03 kB / 446.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.3067, allocations: 20.05 kB / 446.5 MB, free: 6.641 MB / 350.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.0001857/0.3069, allocations: 149.7 kB / 446.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.3069, allocations: 31.81 kB / 446.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.363e-05/0.307, allocations: 38.95 kB / 446.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.307, allocations: 4 kB / 446.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.307, allocations: 0 / 446.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.307, allocations: 0 / 446.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.3092, allocations: 0.9219 MB / 447.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.3092, allocations: 0 / 447.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.3094, allocations: 43.91 kB / 447.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.3106, allocations: 233.6 kB / 448 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.3107, allocations: 8 kB / 448 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004627/0.3153, allocations: 3.88 MB / 451.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3153, allocations: 4.031 kB / 451.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.3172, allocations: 0.7208 MB / 452.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.3172, allocations: 23.84 kB / 452.6 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.3173, allocations: 11.94 kB / 452.6 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.3175, allocations: 11.98 kB / 452.6 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3176, allocations: 31.94 kB / 452.7 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.3176, allocations: 12 kB / 452.7 MB, free: 196 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.3178, allocations: 168.5 kB / 452.8 MB, free: 28 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3178, allocations: 0 / 452.8 MB, free: 28 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006296/0.3185, allocations: 100 kB / 452.9 MB, free: 15.93 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.002194/0.3206, allocations: 1.285 MB / 454.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.3217, allocations: 0.5518 MB / 454.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3217, allocations: 0 / 454.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.3223, allocations: 413.1 kB / 455.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3226, allocations: 28.42 kB / 455.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/0.3289, allocations: 3.365 MB / 458.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3291, allocations: 177.6 kB / 458.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.974e-05/0.3292, allocations: 26.27 kB / 458.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.3293, allocations: 95.41 kB / 458.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3293, allocations: 0 / 458.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04572/0.375, allocations: 9.449 MB / 468.3 MB, free: 492 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.45, allocations: 6.391 kB / 468.3 MB, free: 488 kB / 366.1 MB " [Timeout remaining time 646] (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: 16.032302136998624]