Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002057/0.002057, allocations: 215.8 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.91 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2713, allocations: 53.41 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004415/0.2757, allocations: 2.81 MB / 434.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.2776, allocations: 0.9501 MB / 435.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.2778, allocations: 11.94 kB / 435.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.2781, allocations: 63.48 kB / 435.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004341/0.2785, allocations: 111.1 kB / 435.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.2789, allocations: 111.7 kB / 436 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.2794, allocations: 362.6 kB / 436.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.2796, allocations: 77.92 kB / 436.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.2798, allocations: 143.5 kB / 436.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.28, allocations: 155.3 kB / 436.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.2801, allocations: 35.98 kB / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.772e-05/0.2802, allocations: 32 kB / 436.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.2802, allocations: 67.77 kB / 436.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.2804, allocations: 155.2 kB / 437 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.2808, allocations: 374.8 kB / 437.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2808, allocations: 3.938 kB / 437.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2808, allocations: 0 / 437.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.2809, allocations: 0 / 437.4 MB, free: 1.254 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.00105/0.2819, allocations: 0.5403 MB / 437.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.282, allocations: 12.03 kB / 438 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.74e-05/0.282, allocations: 4.844 kB / 438 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/0.282, allocations: 62.73 kB / 438 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.2822, allocations: 44.73 kB / 438.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.2826, allocations: 214.9 kB / 438.3 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.2826, allocations: 24.97 kB / 438.3 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.2827, allocations: 28.38 kB / 438.3 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.2832, allocations: 250 kB / 438.6 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2832, allocations: 0 / 438.6 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.2832, allocations: 12 kB / 438.6 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.2833, allocations: 8.047 kB / 438.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.2837, allocations: 214.5 kB / 438.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.2854, allocations: 0.9674 MB / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.2859, allocations: 190.5 kB / 439.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.2861, allocations: 99.86 kB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.2862, allocations: 0 / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.2862, allocations: 46.59 kB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.182e-06/0.2862, allocations: 0 / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005161/0.2914, allocations: 1.4 MB / 441.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.2914, allocations: 63.33 kB / 441.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.2917, allocations: 228.9 kB / 441.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.2917, allocations: 37.69 kB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.2918, allocations: 184.5 kB / 442 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.2919, allocations: 118.9 kB / 442.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.2921, allocations: 70.06 kB / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.2922, allocations: 338.8 kB / 442.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.2925, allocations: 108.7 kB / 442.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.2927, allocations: 157.5 kB / 442.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.2933, allocations: 283.6 kB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2933, allocations: 4 kB / 443 MB, free: 11.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001588/0.2949, allocations: 0.5373 MB / 443.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.2949, allocations: 14.28 kB / 443.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2949, allocations: 0 / 443.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.2962, allocations: 237.5 kB / 443.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.2964, allocations: 59.91 kB / 443.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005122/0.3016, allocations: 3.927 MB / 447.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.3018, allocations: 16.02 kB / 447.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.3019, allocations: 12 kB / 447.8 MB, free: 6.273 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.0002065/0.3021, allocations: 153.8 kB / 448 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.3021, allocations: 27.86 kB / 448 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.575e-05/0.3022, allocations: 42.89 kB / 448.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3022, allocations: 4 kB / 448.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.3023, allocations: 0 / 448.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3023, allocations: 0 / 448.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.3044, allocations: 0.965 MB / 449 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.3044, allocations: 4 kB / 449 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.3046, allocations: 39.97 kB / 449.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.3058, allocations: 241.7 kB / 449.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.3058, allocations: 4 kB / 449.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004892/0.3107, allocations: 3.923 MB / 453.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3107, allocations: 0 / 453.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.3126, allocations: 0.7168 MB / 454 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.3127, allocations: 35.81 kB / 454 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.3127, allocations: 8 kB / 454 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3129, allocations: 8 kB / 454 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.313, allocations: 35.88 kB / 454 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.3131, allocations: 15.98 kB / 454.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.3133, allocations: 160.5 kB / 454.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3133, allocations: 4.062 kB / 454.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006239/0.3139, allocations: 104 kB / 454.3 MB, free: 15.47 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.002204/0.3161, allocations: 1.278 MB / 455.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.3172, allocations: 0.5519 MB / 456.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3172, allocations: 0 / 456.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006443/0.3179, allocations: 417.1 kB / 456.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3182, allocations: 23.81 kB / 456.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006183/0.3244, allocations: 3.363 MB / 459.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.3248, allocations: 0.7803 MB / 460.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.3249, allocations: 26.28 kB / 460.7 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3251, allocations: 91.41 kB / 460.8 MB, free: 8.699 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3251, allocations: 0 / 460.8 MB, free: 8.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/0.3681, allocations: 8.878 MB / 469.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.16, allocations: 15.23 kB / 469.7 MB, free: 15.94 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.83395560696954]