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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 183.9 kB / 24.47 MB, free: 4.074 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.451/1.451, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.91 kB / 347.6 MB, free: 9.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3112, allocations: 49.15 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003821/0.315, allocations: 2.7 MB / 399.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3166, allocations: 0.9192 MB / 400.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.3167, allocations: 4.094 kB / 400.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.317, allocations: 64.45 kB / 400.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.3174, allocations: 107 kB / 400.6 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.3177, allocations: 93.97 kB / 400.7 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.3181, allocations: 352.4 kB / 401 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.3182, allocations: 83.66 kB / 401.1 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.3184, allocations: 148.4 kB / 401.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.3187, allocations: 143.2 kB / 401.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.3187, allocations: 29.72 kB / 401.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-05/0.3188, allocations: 28.75 kB / 401.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.3188, allocations: 72.7 kB / 401.5 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.319, allocations: 158.2 kB / 401.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.3195, allocations: 361 kB / 402 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3195, allocations: 0 / 402 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3195, allocations: 5 kB / 402 MB, free: 6.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.3195, allocations: 0 / 402 MB, free: 6.164 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.001023/0.3205, allocations: 0.529 MB / 402.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3205, allocations: 17.7 kB / 402.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.3206, allocations: 37.95 kB / 402.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.321, allocations: 198.2 kB / 402.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.321, allocations: 20.41 kB / 402.8 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.3211, allocations: 37.25 kB / 402.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.3216, allocations: 251.2 kB / 403.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3216, allocations: 0 / 403.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.3216, allocations: 10.62 kB / 403.1 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.3216, allocations: 7 kB / 403.1 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.3221, allocations: 214.7 kB / 403.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.3236, allocations: 0.9653 MB / 404.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.324, allocations: 185.6 kB / 404.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.3243, allocations: 100.8 kB / 404.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.3243, allocations: 7.531 kB / 404.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3244, allocations: 48.56 kB / 404.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.3244, allocations: 0 / 404.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.005018/0.3294, allocations: 1.384 MB / 406 MB, free: 3.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.3294, allocations: 60.12 kB / 406.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3296, allocations: 230.6 kB / 406.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3296, allocations: 32.45 kB / 406.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.3297, allocations: 186.6 kB / 406.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.3298, allocations: 124.8 kB / 406.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/0.3299, allocations: 67 kB / 406.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.61e-05/0.3299, allocations: 333.2 kB / 407 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.3302, allocations: 109.4 kB / 407.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.3304, allocations: 154 kB / 407.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.3309, allocations: 281.4 kB / 407.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3309, allocations: 1.438 kB / 407.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001619/0.3325, allocations: 0.5377 MB / 408.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3326, allocations: 5.125 kB / 408.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3326, allocations: 1.25 kB / 408.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.3338, allocations: 241.6 kB / 408.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.3341, allocations: 61.12 kB / 408.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004574/0.3387, allocations: 3.928 MB / 412.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.339, allocations: 11.53 kB / 412.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.339, allocations: 13.53 kB / 412.4 MB, free: 15.04 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.0002063/0.3392, allocations: 155.8 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.3393, allocations: 29.39 kB / 412.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.905e-05/0.3394, allocations: 43.23 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3394, allocations: 4 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.3394, allocations: 5.312 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3394, allocations: 3.531 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.3417, allocations: 0.9513 MB / 413.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3417, allocations: 1.25 kB / 413.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.3419, allocations: 47.92 kB / 413.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.3432, allocations: 241.2 kB / 413.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.3432, allocations: 10.47 kB / 413.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.3482, allocations: 3.921 MB / 417.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3482, allocations: 1.094 kB / 417.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.3502, allocations: 0.7209 MB / 418.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.3502, allocations: 23.59 kB / 418.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.3503, allocations: 11.06 kB / 418.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.3505, allocations: 14.17 kB / 418.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/0.3506, allocations: 33.44 kB / 418.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.3506, allocations: 14.81 kB / 418.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.3508, allocations: 168.4 kB / 418.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3508, allocations: 1.406 kB / 418.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006376/0.3514, allocations: 107.4 kB / 418.8 MB, free: 9.895 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.0001353/0.3516, allocations: 96.09 kB / 418.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3527, allocations: 0.564 MB / 419.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3527, allocations: 0 / 419.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006543/0.3533, allocations: 416.6 kB / 419.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3537, allocations: 27.98 kB / 419.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.3555, allocations: 0.6929 MB / 420.6 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.356, allocations: 0.7837 MB / 421.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.3561, allocations: 19.67 kB / 421.4 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.3562, allocations: 17.84 kB / 421.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3562, allocations: 0 / 421.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of Templates: time 0.01254/0.3687, allocations: 5.79 MB / 427.2 MB, free: 4.004 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/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: 4.878372414968908]