Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001509/0.001509, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.001637/0.001637, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.408/1.408, allocations: 230.4 MB / 255.4 MB, free: 15.01 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-beta.om/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: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.83 kB / 374.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1086, allocations: 53.31 MB / 428.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00442/0.113, allocations: 2.783 MB / 430.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1148, allocations: 0.9501 MB / 431.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.1149, allocations: 4 kB / 431.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.1152, allocations: 63.5 kB / 431.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.1155, allocations: 119.1 kB / 432 MB, free: 436 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.1158, allocations: 103.8 kB / 432.1 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.191/0.3069, allocations: 352 kB / 432.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.3071, allocations: 74.62 kB / 432.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.3075, allocations: 146 kB / 432.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.3077, allocations: 150.6 kB / 432.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/0.3078, allocations: 30.88 kB / 432.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.534e-05/0.3079, allocations: 32.94 kB / 432.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.3079, allocations: 74.14 kB / 432.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.3081, allocations: 157.3 kB / 433.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.3085, allocations: 370 kB / 433.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3085, allocations: 4.141 kB / 433.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3085, allocations: 0 / 433.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.3085, allocations: 0.6875 kB / 433.4 MB, free: 8.055 MB / 350.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.0009213/0.3095, allocations: 0.6141 MB / 434 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3095, allocations: 9.344 kB / 434.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.3097, allocations: 47.84 kB / 434.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.31, allocations: 271.4 kB / 434.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.31, allocations: 18.47 kB / 434.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.31, allocations: 28.09 kB / 434.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.3105, allocations: 246.6 kB / 434.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3105, allocations: 7.594 kB / 434.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.3105, allocations: 13.12 kB / 434.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3105, allocations: 7.156 kB / 434.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.3109, allocations: 211.1 kB / 434.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.3122, allocations: 1.001 MB / 435.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.3126, allocations: 190.6 kB / 436.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.3129, allocations: 100.9 kB / 436.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.3129, allocations: 7.594 kB / 436.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.3129, allocations: 37 kB / 436.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.3129, allocations: 2.344 kB / 436.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.004939/0.3179, allocations: 1.549 MB / 437.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.3179, allocations: 58.94 kB / 437.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.3181, allocations: 232.3 kB / 438 MB, free: 6.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.3181, allocations: 30.86 kB / 438.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.3182, allocations: 187.9 kB / 438.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.3183, allocations: 125.7 kB / 438.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3184, allocations: 62.83 kB / 438.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.3184, allocations: 342.5 kB / 438.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.3187, allocations: 108 kB / 438.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.3189, allocations: 158.2 kB / 439 MB, free: 5.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.3194, allocations: 290.6 kB / 439.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3194, allocations: 1.312 kB / 439.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001495/0.3209, allocations: 0.5287 MB / 439.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3209, allocations: 5.562 kB / 439.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3209, allocations: 6.594 kB / 439.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.3221, allocations: 243.2 kB / 440.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.3224, allocations: 59.81 kB / 440.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.3264, allocations: 4.138 MB / 444.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.3267, allocations: 10.58 kB / 444.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.3268, allocations: 13.23 kB / 444.3 MB, free: 1.527 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.0002261/0.327, allocations: 152.4 kB / 444.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.3271, allocations: 26.14 kB / 444.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.3272, allocations: 44 kB / 444.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3272, allocations: 3.5 kB / 444.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/0.3272, allocations: 1.375 kB / 444.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3272, allocations: 3.266 kB / 444.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.3296, allocations: 0.9872 MB / 445.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3296, allocations: 6.766 kB / 445.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.3298, allocations: 43.61 kB / 445.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/0.331, allocations: 239.8 kB / 445.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.331, allocations: 11.56 kB / 445.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004787/0.3358, allocations: 4.122 MB / 450 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3358, allocations: 1.188 kB / 450 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.3377, allocations: 0.7224 MB / 450.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3378, allocations: 107.1 kB / 450.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.3378, allocations: 14.72 kB / 450.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.338, allocations: 12.45 kB / 450.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3382, allocations: 28.89 kB / 450.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3382, allocations: 7.484 kB / 450.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.3384, allocations: 170.4 kB / 451 MB, free: 12.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3384, allocations: 3.938 kB / 451 MB, free: 12.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006509/0.339, allocations: 103.4 kB / 451.1 MB, free: 12.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.0001437/0.3392, allocations: 110.8 kB / 451.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.3403, allocations: 0.5543 MB / 451.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3403, allocations: 0 / 451.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.3409, allocations: 416 kB / 452.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3413, allocations: 26.38 kB / 452.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3427, allocations: 0.7446 MB / 453 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.3432, allocations: 0.7799 MB / 453.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.3432, allocations: 21.64 kB / 453.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3432, allocations: 0 / 453.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of Templates: time 0.009387/0.3526, allocations: 6.142 MB / 459.9 MB, free: 9.051 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.2955718310549855]