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.001963/0.001963, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.002316/0.002316, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.522/1.522, allocations: 207.7 MB / 236.1 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") [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.001973/0.001973, allocations: 63.92 kB / 348.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2946, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003765/0.2984, allocations: 2.524 MB / 400.1 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2999, allocations: 0.8575 MB / 401 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.3, allocations: 4.375 kB / 401 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.3003, allocations: 51.95 kB / 401 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.3006, allocations: 103 kB / 401.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.3008, allocations: 105.8 kB / 401.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.3012, allocations: 354 kB / 401.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.3014, allocations: 79 kB / 401.6 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.3016, allocations: 144.5 kB / 401.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.3018, allocations: 131.6 kB / 401.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.3019, allocations: 28.53 kB / 401.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.954e-05/0.3019, allocations: 34.72 kB / 402 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.302, allocations: 62.94 kB / 402 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.3021, allocations: 134.2 kB / 402.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.3026, allocations: 357.8 kB / 402.5 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3026, allocations: 0 / 402.5 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3026, allocations: 1.156 kB / 402.5 MB, free: 6.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.3026, allocations: 0 / 402.5 MB, free: 6.371 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.0009423/0.3035, allocations: 0.5322 MB / 403.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3036, allocations: 19.89 kB / 403.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.3037, allocations: 36.11 kB / 403.1 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.304, allocations: 210.6 kB / 403.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.304, allocations: 19.62 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.3041, allocations: 26.16 kB / 403.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.3046, allocations: 281.7 kB / 403.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3046, allocations: 0 / 403.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3046, allocations: 10.12 kB / 403.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3046, allocations: 6.656 kB / 403.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.3051, allocations: 210.2 kB / 403.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.3064, allocations: 0.8125 MB / 404.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.3068, allocations: 189.5 kB / 404.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.3071, allocations: 101.1 kB / 404.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3071, allocations: 2.734 kB / 405 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3071, allocations: 37.36 kB / 405 MB, free: 4.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.843e-06/0.3071, allocations: 5.125 kB / 405 MB, free: 4.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.004794/0.3119, allocations: 1.388 MB / 406.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.312, allocations: 60.19 kB / 406.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.3122, allocations: 230.3 kB / 406.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3122, allocations: 31.08 kB / 406.7 MB, free: 3.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.3123, allocations: 184 kB / 406.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.3124, allocations: 132.3 kB / 407 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3125, allocations: 67.42 kB / 407.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.3125, allocations: 337.6 kB / 407.4 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.3128, allocations: 108.9 kB / 407.5 MB, free: 3.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.3131, allocations: 155.3 kB / 407.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.3135, allocations: 282.4 kB / 407.9 MB, free: 3.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3135, allocations: 0 / 407.9 MB, free: 3.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001454/0.315, allocations: 0.5258 MB / 408.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.315, allocations: 7.625 kB / 408.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.315, allocations: 4 kB / 408.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.3162, allocations: 238.7 kB / 408.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.3165, allocations: 63.44 kB / 408.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004318/0.3208, allocations: 3.841 MB / 412.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.3211, allocations: 9.891 kB / 412.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.3211, allocations: 18.58 kB / 412.6 MB, free: 15.42 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.0002022/0.3213, allocations: 148.2 kB / 412.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.3214, allocations: 29.42 kB / 412.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.847e-05/0.3215, allocations: 43.02 kB / 412.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3215, allocations: 3.438 kB / 412.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.3215, allocations: 5.031 kB / 412.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3215, allocations: 2.906 kB / 412.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.3237, allocations: 0.8568 MB / 413.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3237, allocations: 1.312 kB / 413.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.3239, allocations: 46.02 kB / 413.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.3251, allocations: 239.1 kB / 414 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.3251, allocations: 10.53 kB / 414 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004871/0.33, allocations: 3.833 MB / 417.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.33, allocations: 1.156 kB / 417.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.3319, allocations: 0.7293 MB / 418.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.332, allocations: 32.39 kB / 418.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.332, allocations: 6.281 kB / 418.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.3323, allocations: 10.28 kB / 418.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.3324, allocations: 42.25 kB / 418.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.3324, allocations: 7.281 kB / 418.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.3326, allocations: 167.5 kB / 418.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3326, allocations: 0 / 418.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007002/0.3333, allocations: 103.7 kB / 418.9 MB, free: 10.53 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.0001458/0.3334, allocations: 104.2 kB / 419 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.3346, allocations: 0.5568 MB / 419.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3346, allocations: 4.062 kB / 419.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006454/0.3352, allocations: 415.8 kB / 420 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.3356, allocations: 23.42 kB / 420 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.3372, allocations: 0.7271 MB / 420.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.3374, allocations: 169.1 kB / 420.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.3374, allocations: 23.72 kB / 420.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3374, allocations: 0 / 420.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of Templates: time 0.01086/0.3483, allocations: 6.083 MB / 427 MB, free: 4.863 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 480] 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: 7.948128778021783]