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.001799/0.001799, allocations: 113.6 kB / 18.5 MB, free: 4.562 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.002263/0.002263, allocations: 197 kB / 21.45 MB, free: 1.613 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.505/1.505, allocations: 230.2 MB / 254.5 MB, free: 15.25 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: 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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00255/0.00255, allocations: 67.88 kB / 373.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1103, allocations: 53.32 MB / 427.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004277/0.1146, allocations: 2.783 MB / 429.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1162, allocations: 0.9462 MB / 430.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1163, allocations: 7.938 kB / 430.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.1166, allocations: 59.52 kB / 430.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.1169, allocations: 107.2 kB / 431.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.1172, allocations: 119.7 kB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.1177, allocations: 346.7 kB / 431.5 MB, free: 84 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1923/0.31, allocations: 82.09 kB / 431.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.3104, allocations: 136.7 kB / 431.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.3107, allocations: 158.8 kB / 431.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.3107, allocations: 28.81 kB / 431.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.3108, allocations: 33.53 kB / 431.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.3108, allocations: 71.03 kB / 432 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.311, allocations: 155.6 kB / 432.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.3115, allocations: 373 kB / 432.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3115, allocations: 0 / 432.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3115, allocations: 0.5938 kB / 432.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3115, allocations: 0.6875 kB / 432.5 MB, free: 8.043 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.0009384/0.3125, allocations: 0.6141 MB / 433.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3125, allocations: 12.03 kB / 433.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.3127, allocations: 43.92 kB / 433.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.313, allocations: 264.1 kB / 433.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.313, allocations: 23.88 kB / 433.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.3131, allocations: 24.66 kB / 433.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.3135, allocations: 251.3 kB / 433.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3135, allocations: 3.938 kB / 433.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.3135, allocations: 9.688 kB / 433.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3135, allocations: 7.75 kB / 433.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.3139, allocations: 212 kB / 434 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.3153, allocations: 1.002 MB / 435 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.3157, allocations: 190.9 kB / 435.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.3159, allocations: 106 kB / 435.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.3159, allocations: 5.25 kB / 435.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.316, allocations: 31.91 kB / 435.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.382e-06/0.316, allocations: 0 / 435.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005043/0.321, allocations: 1.545 MB / 436.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.321, allocations: 58.81 kB / 436.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.3213, allocations: 241.5 kB / 437.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3213, allocations: 29.8 kB / 437.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.525e-05/0.3214, allocations: 187.5 kB / 437.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.3215, allocations: 129.7 kB / 437.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3216, allocations: 63.7 kB / 437.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.3217, allocations: 337.3 kB / 437.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.3219, allocations: 107.7 kB / 438 MB, free: 5.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.3222, allocations: 161.9 kB / 438.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004745/0.3226, allocations: 291.7 kB / 438.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3226, allocations: 1.5 kB / 438.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001519/0.3242, allocations: 0.5317 MB / 439 MB, free: 5.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3242, allocations: 5.969 kB / 439 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.3242, allocations: 1.906 kB / 439 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.3254, allocations: 241.6 kB / 439.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.3257, allocations: 59.27 kB / 439.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/0.3296, allocations: 4.144 MB / 443.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.3299, allocations: 14.22 kB / 443.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.3299, allocations: 10.03 kB / 443.4 MB, free: 1.562 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.0001414/0.33, allocations: 152.5 kB / 443.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.3301, allocations: 25.02 kB / 443.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.095e-05/0.3302, allocations: 43.34 kB / 443.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3302, allocations: 4.219 kB / 443.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.3302, allocations: 6 kB / 443.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3302, allocations: 2.562 kB / 443.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.3322, allocations: 0.9844 MB / 444.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3323, allocations: 1 kB / 444.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.3325, allocations: 42.8 kB / 444.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.3336, allocations: 239.5 kB / 444.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3336, allocations: 7.469 kB / 444.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004785/0.3384, allocations: 4.133 MB / 449 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3384, allocations: 0.9375 kB / 449.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.3403, allocations: 0.7172 MB / 449.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3404, allocations: 106.4 kB / 449.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.3405, allocations: 10.3 kB / 449.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.3407, allocations: 17.14 kB / 449.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3408, allocations: 28.64 kB / 449.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.3408, allocations: 10.97 kB / 449.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.341, allocations: 165.7 kB / 450.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.341, allocations: 1.219 kB / 450.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006425/0.3416, allocations: 103.3 kB / 450.2 MB, free: 12.53 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.0001537/0.3418, allocations: 112 kB / 450.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.3429, allocations: 0.5504 MB / 450.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3429, allocations: 256 / 450.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006953/0.3436, allocations: 424.2 kB / 451.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3439, allocations: 29.48 kB / 451.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.3453, allocations: 0.7172 MB / 452 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.3458, allocations: 0.7798 MB / 452.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.423e-05/0.3459, allocations: 24.58 kB / 452.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.3459, allocations: 22.48 kB / 452.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3459, allocations: 0 / 452.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of Templates: time 0.01219/0.3581, allocations: 5.564 MB / 458.4 MB, free: 9.609 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/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: 4.9607842322438955]