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.001724/0.001724, allocations: 114 kB / 19.17 MB, free: 3.891 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.00213/0.00213, allocations: 208.9 kB / 22.13 MB, free: 0.9375 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.462/1.462, allocations: 230.2 MB / 255.2 MB, free: 15.4 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.001817/0.001817, allocations: 63.91 kB / 374.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09787, allocations: 53.32 MB / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004363/0.1022, allocations: 2.789 MB / 430.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1039, allocations: 0.9501 MB / 431.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.104, allocations: 7.938 kB / 431.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.1042, allocations: 59.5 kB / 431.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.1045, allocations: 107.2 kB / 431.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1048, allocations: 119.7 kB / 431.9 MB, free: 476 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.1052, allocations: 346.7 kB / 432.2 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1054, allocations: 81.67 kB / 432.3 MB, free: 40 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.1056, allocations: 151.5 kB / 432.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.1058, allocations: 143.3 kB / 432.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.1059, allocations: 32 kB / 432.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.942e-05/0.106, allocations: 36 kB / 432.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.1061, allocations: 71.75 kB / 432.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1062, allocations: 155.2 kB / 432.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.1067, allocations: 370.5 kB / 433.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1067, allocations: 0 / 433.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1067, allocations: 0 / 433.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1067, allocations: 4 kB / 433.2 MB, free: 15.09 MB / 366.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.001119/0.1078, allocations: 0.6116 MB / 433.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1078, allocations: 8.031 kB / 433.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.108, allocations: 48.67 kB / 433.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.1085, allocations: 272.7 kB / 434.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.1085, allocations: 20.94 kB / 434.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.1085, allocations: 28.38 kB / 434.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.1091, allocations: 253.2 kB / 434.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1091, allocations: 3.938 kB / 434.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.1091, allocations: 12 kB / 434.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1091, allocations: 7.938 kB / 434.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.1096, allocations: 214.1 kB / 434.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.1113, allocations: 0.99 MB / 435.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.1118, allocations: 200.8 kB / 435.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.1121, allocations: 100.8 kB / 436 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1121, allocations: 4 kB / 436 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1121, allocations: 30.56 kB / 436 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 3.306e-06/0.1121, allocations: 3.984 kB / 436 MB, free: 12.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.00532/0.1175, allocations: 1.549 MB / 437.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.1175, allocations: 63.34 kB / 437.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.1178, allocations: 233 kB / 437.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1178, allocations: 33.64 kB / 437.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.118, allocations: 192.4 kB / 438.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.1181, allocations: 126.9 kB / 438.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.1182, allocations: 66.06 kB / 438.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1183, allocations: 334.8 kB / 438.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.1186, allocations: 108.7 kB / 438.7 MB, free: 9.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.1189, allocations: 165.7 kB / 438.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.1194, allocations: 291.6 kB / 439.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1194, allocations: 0 / 439.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001646/0.1211, allocations: 0.5255 MB / 439.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1211, allocations: 4 kB / 439.7 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1211, allocations: 3.984 kB / 439.7 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.1224, allocations: 245.4 kB / 439.9 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.1226, allocations: 59.91 kB / 440 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005491/0.1281, allocations: 4.141 MB / 444.1 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.1284, allocations: 20.02 kB / 444.1 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.1284, allocations: 8 kB / 444.1 MB, free: 3.527 MB / 366.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.0002073/0.1286, allocations: 149.7 kB / 444.3 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.1287, allocations: 27.86 kB / 444.3 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1288, allocations: 42.95 kB / 444.3 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1288, allocations: 4 kB / 444.4 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1288, allocations: 4.062 kB / 444.4 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.1288, allocations: 11.97 kB / 444.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.1311, allocations: 0.9688 MB / 445.3 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1311, allocations: 4 kB / 445.3 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.1313, allocations: 43.91 kB / 445.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.1325, allocations: 245.8 kB / 445.6 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.1326, allocations: 4 kB / 445.6 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2121/0.3447, allocations: 4.116 MB / 449.7 MB, free: 22.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3447, allocations: 4.844 kB / 449.7 MB, free: 22.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.3464, allocations: 0.7277 MB / 450.5 MB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.3464, allocations: 107.2 kB / 450.6 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.3465, allocations: 6.906 kB / 450.6 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.3467, allocations: 13.8 kB / 450.6 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.3468, allocations: 31.05 kB / 450.6 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.3468, allocations: 14.75 kB / 450.6 MB, free: 22.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.3469, allocations: 166.7 kB / 450.8 MB, free: 21.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3469, allocations: 0 / 450.8 MB, free: 21.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006055/0.3475, allocations: 99.56 kB / 450.9 MB, free: 21.98 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.0001231/0.3477, allocations: 111 kB / 451 MB, free: 21.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008635/0.3485, allocations: 0.5452 MB / 451.6 MB, free: 21.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3485, allocations: 0 / 451.6 MB, free: 21.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.349, allocations: 424.6 kB / 452 MB, free: 21.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3494, allocations: 25.69 kB / 452 MB, free: 21.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.3507, allocations: 0.7452 MB / 452.7 MB, free: 21.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.3509, allocations: 0.7796 MB / 453.5 MB, free: 20.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.351, allocations: 20.67 kB / 453.5 MB, free: 20.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.351, allocations: 1.094 kB / 453.5 MB, free: 20.39 MB / 366.1 MB Notification: Performance of Templates: time 0.01019/0.3612, allocations: 6.141 MB / 459.7 MB, free: 20.02 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/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_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: 7.803875073092058]