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.001308/0.001308, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00153/0.00153, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.001547/0.001547, allocations: 39.94 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.269, allocations: 53.36 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00428/0.2732, allocations: 2.804 MB / 434.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2749, allocations: 0.9656 MB / 435.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.2751, allocations: 7.938 kB / 435.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.2753, allocations: 59.45 kB / 435.8 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.2756, allocations: 115.2 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.2759, allocations: 103.8 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.2763, allocations: 358.6 kB / 436.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.2765, allocations: 81.97 kB / 436.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.2767, allocations: 139.5 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.2769, allocations: 159.2 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.277, allocations: 36 kB / 436.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.353e-05/0.277, allocations: 32 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.2771, allocations: 63.77 kB / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.2773, allocations: 155.2 kB / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.2777, allocations: 371.3 kB / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2777, allocations: 4 kB / 437.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2777, allocations: 0 / 437.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2777, allocations: 0 / 437.3 MB, free: 1.414 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.0009904/0.2787, allocations: 0.5403 MB / 437.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2788, allocations: 12.03 kB / 437.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.843e-05/0.2788, allocations: 8.828 kB / 437.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.244e-05/0.2788, allocations: 58.73 kB / 438 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.279, allocations: 48.73 kB / 438 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.2794, allocations: 214.8 kB / 438.2 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.2794, allocations: 21.03 kB / 438.2 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.2794, allocations: 24.38 kB / 438.3 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.2799, allocations: 254 kB / 438.5 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2799, allocations: 0 / 438.5 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.2799, allocations: 12 kB / 438.5 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2799, allocations: 8 kB / 438.5 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.2804, allocations: 214.5 kB / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.282, allocations: 0.9713 MB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.2824, allocations: 193.1 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.2826, allocations: 106.4 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2826, allocations: 3.938 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.2827, allocations: 42.56 kB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/0.2827, allocations: 0 / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005041/0.2877, allocations: 1.396 MB / 441.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.2878, allocations: 55.41 kB / 441.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.288, allocations: 236.9 kB / 441.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.2881, allocations: 29.7 kB / 441.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.2882, allocations: 188.5 kB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2883, allocations: 126.9 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.2884, allocations: 66.08 kB / 442.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2886, allocations: 334.8 kB / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.2888, allocations: 108.7 kB / 442.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.2891, allocations: 161.4 kB / 442.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005286/0.2896, allocations: 287.6 kB / 443 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2896, allocations: 0 / 443 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001529/0.2912, allocations: 0.5296 MB / 443.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2912, allocations: 12 kB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2912, allocations: 4 kB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.2924, allocations: 237.4 kB / 443.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.2926, allocations: 63.89 kB / 443.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005054/0.2977, allocations: 3.94 MB / 447.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.298, allocations: 12.02 kB / 447.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.298, allocations: 16 kB / 447.8 MB, free: 6.414 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.0002015/0.2982, allocations: 149.8 kB / 448 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.2982, allocations: 27.86 kB / 448 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.904e-05/0.2983, allocations: 42.95 kB / 448 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2983, allocations: 4 kB / 448 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2984, allocations: 0 / 448 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2984, allocations: 3.984 kB / 448 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.3005, allocations: 0.9531 MB / 449 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.3005, allocations: 4 kB / 449 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.3007, allocations: 39.91 kB / 449 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.3019, allocations: 245.5 kB / 449.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.3019, allocations: 11.98 kB / 449.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/0.3066, allocations: 3.911 MB / 453.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3066, allocations: 0 / 453.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.3085, allocations: 0.7247 MB / 453.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.3085, allocations: 27.81 kB / 453.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.3086, allocations: 8 kB / 453.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.3088, allocations: 15.98 kB / 454 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/0.3089, allocations: 31.94 kB / 454 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.3089, allocations: 4 kB / 454 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.3091, allocations: 172.5 kB / 454.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3091, allocations: 4.062 kB / 454.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006366/0.3097, allocations: 100 kB / 454.3 MB, free: 15.62 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.002171/0.3119, allocations: 1.281 MB / 455.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.313, allocations: 0.548 MB / 456.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.313, allocations: 4.062 kB / 456.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006069/0.3136, allocations: 425 kB / 456.5 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.0003366/0.314, allocations: 20.44 kB / 456.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00609/0.3201, allocations: 3.371 MB / 459.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3205, allocations: 0.7801 MB / 460.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.3206, allocations: 22.3 kB / 460.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.3208, allocations: 95.39 kB / 460.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3208, allocations: 3.938 kB / 460.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.3599, allocations: 8.862 MB / 469.7 MB, free: 136 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.42, allocations: 7.172 kB / 469.7 MB, free: 132 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: 15.977145852986723]