Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.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.005729/0.005729, allocations: 114.2 kB / 21.97 MB, free: 5.227 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.001675/0.001675, allocations: 216.3 kB / 25.28 MB, free: 3.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SaturatedInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 51.94 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.258, allocations: 49.16 MB / 397.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003418/0.2614, allocations: 2.699 MB / 399.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2626, allocations: 0.9229 MB / 400.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.2628, allocations: 8.562 kB / 400.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.263, allocations: 59.19 kB / 400.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.2632, allocations: 104 kB / 400.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.2635, allocations: 93.12 kB / 401 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.2638, allocations: 353.8 kB / 401.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.264, allocations: 79.19 kB / 401.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.2641, allocations: 153 kB / 401.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.2643, allocations: 141.8 kB / 401.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.2644, allocations: 29.47 kB / 401.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.806e-05/0.2644, allocations: 30.16 kB / 401.8 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.2645, allocations: 76.69 kB / 401.8 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.2646, allocations: 154.2 kB / 402 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.265, allocations: 359.1 kB / 402.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.265, allocations: 4 kB / 402.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.265, allocations: 1.219 kB / 402.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.265, allocations: 0.5156 kB / 402.4 MB, free: 5.645 MB / 318.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.0008342/0.2659, allocations: 0.5327 MB / 402.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2659, allocations: 13.83 kB / 402.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.225e-05/0.2659, allocations: 6.5 kB / 402.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.266, allocations: 66.52 kB / 403 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.266, allocations: 37.5 kB / 403 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.2663, allocations: 203.1 kB / 403.2 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.2663, allocations: 19.94 kB / 403.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.2664, allocations: 27.16 kB / 403.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.2668, allocations: 254.6 kB / 403.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2668, allocations: 7.938 kB / 403.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.2669, allocations: 10.22 kB / 403.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.2669, allocations: 7 kB / 403.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.2673, allocations: 211.2 kB / 403.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.2687, allocations: 0.9745 MB / 404.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.2691, allocations: 190.3 kB / 404.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.2693, allocations: 101.3 kB / 405 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.2693, allocations: 10.97 kB / 405 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2693, allocations: 32.48 kB / 405 MB, free: 3.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.2693, allocations: 1.344 kB / 405 MB, free: 3.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.004694/0.274, allocations: 1.396 MB / 406.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.2741, allocations: 54.88 kB / 406.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.2743, allocations: 224.3 kB / 406.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.2743, allocations: 34.83 kB / 406.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.2744, allocations: 188.4 kB / 406.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.2745, allocations: 127.5 kB / 407 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2746, allocations: 63.59 kB / 407.1 MB, free: 2.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.451e-05/0.2746, allocations: 337.3 kB / 407.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.2749, allocations: 104.4 kB / 407.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.2751, allocations: 163.4 kB / 407.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.2756, allocations: 273.2 kB / 408 MB, free: 2.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2756, allocations: 4 kB / 408 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001462/0.277, allocations: 0.5335 MB / 408.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2771, allocations: 6.156 kB / 408.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.2771, allocations: 1.375 kB / 408.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.2783, allocations: 245.2 kB / 408.7 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.2786, allocations: 53.11 kB / 408.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004301/0.2829, allocations: 3.938 MB / 412.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.2831, allocations: 17.77 kB / 412.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.2832, allocations: 13.95 kB / 412.8 MB, free: 14.45 MB / 334.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.000205/0.2834, allocations: 152.1 kB / 412.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.2834, allocations: 28.62 kB / 412.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.895e-05/0.2835, allocations: 39.72 kB / 413 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2835, allocations: 3.875 kB / 413 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.2835, allocations: 2.234 kB / 413 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2835, allocations: 1.734 kB / 413 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.2856, allocations: 0.9522 MB / 413.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2856, allocations: 1.469 kB / 413.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.2858, allocations: 38.91 kB / 414 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.287, allocations: 251.7 kB / 414.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.287, allocations: 7.328 kB / 414.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004462/0.2915, allocations: 3.909 MB / 418.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2915, allocations: 1.156 kB / 418.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.2933, allocations: 0.724 MB / 418.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.2933, allocations: 36.84 kB / 418.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.2934, allocations: 13.81 kB / 418.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2936, allocations: 9.438 kB / 418.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.2937, allocations: 38.58 kB / 419 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.2937, allocations: 11.14 kB / 419 MB, free: 9.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.2938, allocations: 165.9 kB / 419.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2938, allocations: 288 / 419.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006358/0.2945, allocations: 98.72 kB / 419.2 MB, free: 9.43 MB / 334.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.002082/0.2966, allocations: 1.274 MB / 420.5 MB, free: 8.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.2976, allocations: 0.5475 MB / 421.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2976, allocations: 0.6562 kB / 421.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006148/0.2982, allocations: 415.6 kB / 421.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.2985, allocations: 32.75 kB / 421.5 MB, free: 7.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/0.3046, allocations: 3.342 MB / 424.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.305, allocations: 0.7767 MB / 425.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.045e-05/0.3051, allocations: 23.89 kB / 425.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.3052, allocations: 93.03 kB / 425.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3052, allocations: 0 / 425.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.3445, allocations: 8.784 MB / 434.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.26, allocations: 8.047 kB / 434.5 MB, free: 12.76 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.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.740863528975751]