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.00155/0.00155, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002232/0.002232, allocations: 210.2 kB / 23.74 MB, free: 4.66 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.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.001607/0.001607, allocations: 47.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2794, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004411/0.2838, allocations: 2.807 MB / 433.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.2855, allocations: 0.9578 MB / 434.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.2857, allocations: 8 kB / 434.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.2859, allocations: 63.44 kB / 435 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.2862, allocations: 115.2 kB / 435.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.2865, allocations: 103.8 kB / 435.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.2869, allocations: 358.6 kB / 435.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.2871, allocations: 79.61 kB / 435.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.2873, allocations: 147.5 kB / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.2875, allocations: 163.2 kB / 435.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.2876, allocations: 28 kB / 435.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.2876, allocations: 32 kB / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.2877, allocations: 67.77 kB / 436 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2879, allocations: 155.2 kB / 436.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.2883, allocations: 374.4 kB / 436.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2883, allocations: 0 / 436.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2883, allocations: 0 / 436.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.2883, allocations: 0 / 436.6 MB, free: 1.402 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.001037/0.2894, allocations: 0.5364 MB / 437.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2894, allocations: 12.03 kB / 437.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.2895, allocations: 62.72 kB / 437.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.2897, allocations: 44.75 kB / 437.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.29, allocations: 214.8 kB / 437.4 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.2901, allocations: 21.03 kB / 437.4 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.2901, allocations: 32.36 kB / 437.5 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.2906, allocations: 250.2 kB / 437.7 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2906, allocations: 0 / 437.7 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.2907, allocations: 15.98 kB / 437.7 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2907, allocations: 4 kB / 437.7 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.2912, allocations: 218.5 kB / 437.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.2929, allocations: 0.9674 MB / 438.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.2933, allocations: 193 kB / 439.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.2936, allocations: 98.44 kB / 439.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.2936, allocations: 4 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.2937, allocations: 38.56 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.754e-06/0.2937, allocations: 0 / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005321/0.299, allocations: 1.404 MB / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.2991, allocations: 55.41 kB / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.2994, allocations: 232.9 kB / 440.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.2994, allocations: 33.7 kB / 441 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.2996, allocations: 184.5 kB / 441.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.2997, allocations: 126.9 kB / 441.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.2998, allocations: 66.08 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.3, allocations: 334.8 kB / 441.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.3002, allocations: 108.7 kB / 441.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.3005, allocations: 161.5 kB / 441.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.3011, allocations: 287.6 kB / 442.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3011, allocations: 0 / 442.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001632/0.3027, allocations: 0.5374 MB / 442.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3027, allocations: 4 kB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3028, allocations: 0 / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.304, allocations: 241.4 kB / 443 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.3044, allocations: 63.89 kB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00616/0.3105, allocations: 3.946 MB / 447 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.3108, allocations: 8 kB / 447 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.3109, allocations: 12 kB / 447 MB, free: 6.426 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.00027/0.3111, allocations: 157.8 kB / 447.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.3112, allocations: 23.86 kB / 447.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.3113, allocations: 42.89 kB / 447.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3113, allocations: 4 kB / 447.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.3113, allocations: 4 kB / 447.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.3113, allocations: 3.984 kB / 447.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.3136, allocations: 0.9572 MB / 448.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3136, allocations: 0 / 448.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.3139, allocations: 43.91 kB / 448.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.315, allocations: 245.5 kB / 448.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.3151, allocations: 8 kB / 448.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005243/0.3203, allocations: 3.915 MB / 452.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3203, allocations: 3.984 kB / 452.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.3222, allocations: 0.7247 MB / 453.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.3223, allocations: 23.89 kB / 453.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.3223, allocations: 11.94 kB / 453.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.3225, allocations: 15.98 kB / 453.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.725e-05/0.3226, allocations: 27.94 kB / 453.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.3227, allocations: 12 kB / 453.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.3229, allocations: 172.8 kB / 453.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3229, allocations: 0 / 453.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006248/0.3235, allocations: 104 kB / 453.5 MB, free: 15.61 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.002269/0.3258, allocations: 1.274 MB / 454.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.3269, allocations: 0.5557 MB / 455.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.327, allocations: 0 / 455.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.3276, allocations: 413.1 kB / 455.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.328, allocations: 26.44 kB / 455.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006476/0.3344, allocations: 3.369 MB / 459.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.3349, allocations: 0.7801 MB / 459.9 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.335, allocations: 22.3 kB / 459.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.3352, allocations: 95.39 kB / 460 MB, free: 8.844 MB / 366.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3352, allocations: 0 / 460 MB, free: 8.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05092/0.3861, allocations: 8.836 MB / 468.8 MB, free: 160 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.14, allocations: 5.484 kB / 468.8 MB, free: 156 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.910866645164788]