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.0013/0.0013, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.00148/0.00148, allocations: 196.5 kB / 23.72 MB, free: 4.5 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001596/0.001596, allocations: 51.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2753, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004139/0.2794, allocations: 2.621 MB / 433.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.281, allocations: 0.8917 MB / 434.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.2811, allocations: 7.938 kB / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.2814, allocations: 59.52 kB / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.2817, allocations: 107.2 kB / 434.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.282, allocations: 115.7 kB / 434.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.2824, allocations: 342.7 kB / 435.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.2826, allocations: 83.64 kB / 435.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.2828, allocations: 151.4 kB / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.283, allocations: 131.3 kB / 435.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.2831, allocations: 32 kB / 435.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.451e-05/0.2831, allocations: 32 kB / 435.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.2832, allocations: 67.75 kB / 435.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.2833, allocations: 131.4 kB / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.2838, allocations: 370.5 kB / 436.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2838, allocations: 0 / 436.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2838, allocations: 0 / 436.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2838, allocations: 0 / 436.2 MB, free: 1.52 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.0009999/0.2848, allocations: 0.543 MB / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2848, allocations: 11.97 kB / 436.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.726e-05/0.2849, allocations: 74.66 kB / 436.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.2851, allocations: 40.73 kB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.2854, allocations: 214.9 kB / 437.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.2855, allocations: 21.03 kB / 437.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.2855, allocations: 24.38 kB / 437.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.2861, allocations: 279.8 kB / 437.4 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.2861, allocations: 4 kB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.2861, allocations: 12 kB / 437.4 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2861, allocations: 8 kB / 437.4 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004578/0.2866, allocations: 206.5 kB / 437.6 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.2882, allocations: 0.8588 MB / 438.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.2886, allocations: 190.5 kB / 438.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.2889, allocations: 104.8 kB / 438.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.2889, allocations: 4 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.2889, allocations: 38.55 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.2889, allocations: 0 / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.0051/0.294, allocations: 1.39 MB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.2941, allocations: 59.34 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.2944, allocations: 236.8 kB / 440.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.2944, allocations: 37.7 kB / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.2946, allocations: 180.5 kB / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.2947, allocations: 126.9 kB / 440.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.2948, allocations: 66.03 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.295, allocations: 346.8 kB / 441.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.2952, allocations: 108.7 kB / 441.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.2955, allocations: 161.4 kB / 441.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.296, allocations: 283.6 kB / 441.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.296, allocations: 0 / 441.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001582/0.2976, allocations: 0.5296 MB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2976, allocations: 7.938 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2976, allocations: 3.984 kB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.2989, allocations: 249.5 kB / 442.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.2991, allocations: 59.91 kB / 442.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005224/0.3044, allocations: 3.899 MB / 446.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.3047, allocations: 8.031 kB / 446.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.3047, allocations: 12 kB / 446.5 MB, free: 6.664 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.0002121/0.3049, allocations: 152.2 kB / 446.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.305, allocations: 31.8 kB / 446.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.3051, allocations: 42.97 kB / 446.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3051, allocations: 4.062 kB / 446.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.3051, allocations: 4 kB / 446.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3051, allocations: 3.984 kB / 446.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.3073, allocations: 0.9024 MB / 447.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3073, allocations: 4 kB / 447.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.3075, allocations: 43.91 kB / 447.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.3087, allocations: 241.5 kB / 447.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.3087, allocations: 4 kB / 447.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/0.3137, allocations: 3.892 MB / 451.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3137, allocations: 0 / 451.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.3155, allocations: 0.7209 MB / 452.5 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.3156, allocations: 27.84 kB / 452.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.3156, allocations: 7.938 kB / 452.6 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.3158, allocations: 15.98 kB / 452.6 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.3159, allocations: 35.88 kB / 452.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.3159, allocations: 12.06 kB / 452.6 MB, free: 204 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.3161, allocations: 168.5 kB / 452.8 MB, free: 36 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3161, allocations: 0 / 452.8 MB, free: 36 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006124/0.3167, allocations: 104 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.002159/0.3189, allocations: 1.276 MB / 454.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.3199, allocations: 0.5518 MB / 454.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3199, allocations: 0 / 454.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.3205, allocations: 421.5 kB / 455.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3209, allocations: 20.72 kB / 455.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.3271, allocations: 3.369 MB / 458.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.3273, allocations: 185.5 kB / 458.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.3274, allocations: 22.28 kB / 458.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3275, allocations: 99.39 kB / 458.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3276, allocations: 0 / 458.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04623/0.3738, allocations: 9.332 MB / 468.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.34, allocations: 3.984 kB / 468.2 MB, free: 0.5938 MB / 366.1 MB " [Timeout remaining time 645] (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: 23.099389492999762]