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.00168/0.00168, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002177/0.002177, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.419/1.419, allocations: 230.5 MB / 257.4 MB, free: 7.996 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2547, allocations: 53.42 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004515/0.2593, allocations: 2.799 MB / 434 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.2611, allocations: 0.9656 MB / 435 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.2613, allocations: 8 kB / 435 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.2617, allocations: 59.45 kB / 435 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004382/0.2621, allocations: 103.2 kB / 435.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.2625, allocations: 115.8 kB / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005059/0.263, allocations: 354.6 kB / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.2632, allocations: 85.84 kB / 435.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.2635, allocations: 147.5 kB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.2638, allocations: 151.3 kB / 436 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.2639, allocations: 28 kB / 436 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.264, allocations: 36 kB / 436 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.264, allocations: 67.7 kB / 436.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.2642, allocations: 159.2 kB / 436.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.2647, allocations: 370.9 kB / 436.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2647, allocations: 0 / 436.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2647, allocations: 4 kB / 436.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.2647, allocations: 0 / 436.6 MB, free: 1.262 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.001089/0.2658, allocations: 0.5364 MB / 437.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2659, allocations: 12.03 kB / 437.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.188e-05/0.2659, allocations: 66.72 kB / 437.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.2661, allocations: 40.75 kB / 437.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.2665, allocations: 214.8 kB / 437.5 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.2665, allocations: 21.03 kB / 437.5 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.2666, allocations: 24.38 kB / 437.5 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.267, allocations: 250.2 kB / 437.8 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2671, allocations: 4 kB / 437.8 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.2671, allocations: 12 kB / 437.8 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2671, allocations: 4 kB / 437.8 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.2676, allocations: 214.5 kB / 438 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.2692, allocations: 0.9674 MB / 439 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.2697, allocations: 198 kB / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.2699, allocations: 107.9 kB / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.27, allocations: 8.062 kB / 439.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.27, allocations: 34.56 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.362e-06/0.27, allocations: 0 / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005135/0.2751, allocations: 1.4 MB / 440.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.2752, allocations: 51.41 kB / 440.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.2754, allocations: 236.9 kB / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.2755, allocations: 33.7 kB / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.2756, allocations: 188.5 kB / 441.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.2757, allocations: 126.9 kB / 441.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.2758, allocations: 62.08 kB / 441.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.276, allocations: 342.8 kB / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.2762, allocations: 108.7 kB / 441.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.2765, allocations: 161.5 kB / 442 MB, free: 11.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.277, allocations: 283.6 kB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.277, allocations: 0 / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001626/0.2786, allocations: 0.5334 MB / 442.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2787, allocations: 4 kB / 442.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2787, allocations: 4 kB / 442.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.28, allocations: 241.4 kB / 443 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.2802, allocations: 59.95 kB / 443.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/0.2852, allocations: 3.93 MB / 447 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.2855, allocations: 16.02 kB / 447 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.2855, allocations: 12.06 kB / 447 MB, free: 6.289 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.0001817/0.2857, allocations: 157.7 kB / 447.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.2858, allocations: 23.86 kB / 447.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.2859, allocations: 50.89 kB / 447.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2859, allocations: 4 kB / 447.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.2859, allocations: 0 / 447.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2859, allocations: 3.984 kB / 447.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.288, allocations: 0.9489 MB / 448.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.2881, allocations: 0 / 448.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.2883, allocations: 43.97 kB / 448.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.2894, allocations: 241.7 kB / 448.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.2895, allocations: 11.98 kB / 448.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/0.2943, allocations: 3.915 MB / 452.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2943, allocations: 0 / 452.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.2962, allocations: 0.7285 MB / 453.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.2963, allocations: 19.89 kB / 453.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.2963, allocations: 7.938 kB / 453.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.2966, allocations: 15.98 kB / 453.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.2967, allocations: 39.98 kB / 453.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.2967, allocations: 8 kB / 453.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.2969, allocations: 172.5 kB / 453.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2969, allocations: 0 / 453.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006132/0.2975, allocations: 100 kB / 453.5 MB, free: 15.48 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.2997, allocations: 1.277 MB / 454.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3007, allocations: 0.5557 MB / 455.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3007, allocations: 0 / 455.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000607/0.3013, allocations: 417.5 kB / 455.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.3017, allocations: 31.81 kB / 455.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/0.3078, allocations: 3.359 MB / 459.1 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.3082, allocations: 0.7801 MB / 459.9 MB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.202e-05/0.3083, allocations: 22.28 kB / 460 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.3084, allocations: 95.39 kB / 460 MB, free: 8.707 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3084, allocations: 0 / 460 MB, free: 8.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04503/0.3534, allocations: 8.842 MB / 468.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/13.89, allocations: 6.562 kB / 468.9 MB, free: 15.98 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.44765948713757]