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.001542/0.001542, allocations: 112 kB / 20.43 MB, free: 1.457 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.001525/0.001525, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.569/1.569, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.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.00165/0.00165, allocations: 47.92 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4011, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.005352/0.4064, allocations: 2.778 MB / 425.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.4082, allocations: 0.8723 MB / 426.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.4084, allocations: 8 kB / 426.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.4087, allocations: 63.48 kB / 426.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.409, allocations: 99.19 kB / 426.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.4093, allocations: 103.8 kB / 426.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004831/0.4098, allocations: 350.6 kB / 426.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.41, allocations: 77.98 kB / 427 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.4102, allocations: 139.5 kB / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.4105, allocations: 151.3 kB / 427.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.977e-05/0.4105, allocations: 28 kB / 427.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.186e-05/0.4106, allocations: 28 kB / 427.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.4106, allocations: 67.77 kB / 427.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.4108, allocations: 155.2 kB / 427.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005147/0.4113, allocations: 358.9 kB / 427.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4113, allocations: 4 kB / 427.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4113, allocations: 3.938 kB / 427.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.4114, allocations: 0 / 427.9 MB, free: 9.34 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.001168/0.4125, allocations: 0.5365 MB / 428.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4126, allocations: 8.031 kB / 428.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.666e-05/0.4127, allocations: 66.72 kB / 428.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.4128, allocations: 32.75 kB / 428.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.4132, allocations: 206 kB / 428.7 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.4132, allocations: 24.97 kB / 428.7 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.4133, allocations: 28.31 kB / 428.8 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.4138, allocations: 250.2 kB / 429 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4138, allocations: 0 / 429 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.4138, allocations: 16 kB / 429 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4139, allocations: 4 kB / 429 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.4143, allocations: 214.5 kB / 429.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.4161, allocations: 0.9674 MB / 430.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.4166, allocations: 189.8 kB / 430.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.4169, allocations: 96.81 kB / 430.5 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.4169, allocations: 8 kB / 430.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.4169, allocations: 34.66 kB / 430.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.4169, allocations: 3.938 kB / 430.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.005367/0.4223, allocations: 1.396 MB / 431.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.4224, allocations: 59.27 kB / 432 MB, free: 5.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.4227, allocations: 228.9 kB / 432.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.4227, allocations: 33.64 kB / 432.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.4229, allocations: 188.5 kB / 432.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.423, allocations: 126.9 kB / 432.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.4231, allocations: 70.02 kB / 432.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.4233, allocations: 334.8 kB / 433 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.4236, allocations: 104.7 kB / 433.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.4239, allocations: 165.5 kB / 433.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.4244, allocations: 280 kB / 433.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4244, allocations: 3.938 kB / 433.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001609/0.426, allocations: 0.5296 MB / 434 MB, free: 2.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.426, allocations: 8 kB / 434 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4261, allocations: 0 / 434 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.4274, allocations: 241.5 kB / 434.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.4277, allocations: 59.91 kB / 434.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/0.4332, allocations: 3.923 MB / 438.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.4335, allocations: 16.02 kB / 438.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.4336, allocations: 12 kB / 438.3 MB, free: 14.41 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.0002579/0.4338, allocations: 161.7 kB / 438.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.4339, allocations: 27.86 kB / 438.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.434, allocations: 38.95 kB / 438.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.434, allocations: 4 kB / 438.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.434, allocations: 288 / 438.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.434, allocations: 0 / 438.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.4363, allocations: 0.9656 MB / 439.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4363, allocations: 3.938 kB / 439.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.4365, allocations: 43.91 kB / 439.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.4377, allocations: 237.6 kB / 439.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.4377, allocations: 8 kB / 439.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005112/0.4429, allocations: 3.919 MB / 443.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.4429, allocations: 4.031 kB / 443.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.4448, allocations: 0.7248 MB / 444.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.4448, allocations: 19.86 kB / 444.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.4449, allocations: 11.92 kB / 444.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.4451, allocations: 16 kB / 444.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.4452, allocations: 36.14 kB / 444.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.4452, allocations: 12.06 kB / 444.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.4454, allocations: 168.5 kB / 444.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4454, allocations: 7.875 kB / 444.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006478/0.4461, allocations: 100 kB / 444.8 MB, free: 7.582 MB / 350.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.002359/0.4484, allocations: 1.266 MB / 446 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.4496, allocations: 0.5595 MB / 446.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4496, allocations: 0 / 446.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.4503, allocations: 417.5 kB / 447 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.4506, allocations: 34.48 kB / 447 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/0.4574, allocations: 3.336 MB / 450.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.4579, allocations: 0.776 MB / 451.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.458, allocations: 18.28 kB / 451.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.4582, allocations: 95.39 kB / 451.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4582, allocations: 0 / 451.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06059/0.5188, allocations: 8.754 MB / 460 MB, free: 8.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.12, allocations: 7.938 kB / 460 MB, free: 8.23 MB / 366.1 MB " [Timeout remaining time 646] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 16.97890647687018]