Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.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.001308/0.001308, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001937/0.001937, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 177.2 MB / 204.9 MB, free: 8.969 MB / 190.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+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.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_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_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 58.78 kB / 325.6 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08682/0.08837, allocations: 53.33 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004183/0.09255, allocations: 2.625 MB / 381.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.09412, allocations: 0.8801 MB / 382.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.09425, allocations: 7.938 kB / 382.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.09448, allocations: 55.52 kB / 382.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.09477, allocations: 115.2 kB / 382.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.09506, allocations: 115.6 kB / 382.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.09547, allocations: 362.6 kB / 383 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.09564, allocations: 81.97 kB / 383.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.09586, allocations: 143.5 kB / 383.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.09607, allocations: 127.3 kB / 383.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.09612, allocations: 32 kB / 383.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.227e-05/0.0962, allocations: 40 kB / 383.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.09627, allocations: 67.75 kB / 383.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.09641, allocations: 123.4 kB / 383.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.09684, allocations: 374.5 kB / 384 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09684, allocations: 0 / 384 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09684, allocations: 3.938 kB / 384 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.09685, allocations: 4 kB / 384 MB, free: 10.56 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.001009/0.09786, allocations: 0.5402 MB / 384.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.09789, allocations: 8.031 kB / 384.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.09806, allocations: 44.73 kB / 384.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.0984, allocations: 207 kB / 384.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.09843, allocations: 21.03 kB / 384.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.09848, allocations: 28.38 kB / 384.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.099, allocations: 288 kB / 385.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.09901, allocations: 4 kB / 385.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.09904, allocations: 12 kB / 385.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.09905, allocations: 8 kB / 385.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.09951, allocations: 210.5 kB / 385.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.101, allocations: 0.8093 MB / 386.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.1014, allocations: 185.1 kB / 386.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.1017, allocations: 104.8 kB / 386.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1017, allocations: 0 / 386.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.1017, allocations: 42.55 kB / 386.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.152e-06/0.1017, allocations: 0 / 386.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00512/0.1069, allocations: 1.391 MB / 387.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1069, allocations: 59.34 kB / 388 MB, free: 6.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.1071, allocations: 233.7 kB / 388.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.1072, allocations: 37.7 kB / 388.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1073, allocations: 188.4 kB / 388.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1074, allocations: 123 kB / 388.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1075, allocations: 69.97 kB / 388.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1077, allocations: 342.8 kB / 388.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.1079, allocations: 108.7 kB / 389 MB, free: 5.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.1082, allocations: 161.5 kB / 389.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.1088, allocations: 283.6 kB / 389.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1088, allocations: 0 / 389.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001611/0.1104, allocations: 0.5334 MB / 390 MB, free: 4.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1104, allocations: 12 kB / 390 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1104, allocations: 0 / 390 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.1117, allocations: 237.5 kB / 390.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.1119, allocations: 63.89 kB / 390.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004901/0.1168, allocations: 3.847 MB / 394.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.1171, allocations: 16.09 kB / 394.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.1171, allocations: 12 kB / 394.2 MB, free: 15.91 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.0001643/0.1173, allocations: 153.8 kB / 394.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.1173, allocations: 31.75 kB / 394.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.988e-05/0.1174, allocations: 38.97 kB / 394.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1174, allocations: 7.984 kB / 394.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1174, allocations: 0 / 394.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1174, allocations: 0 / 394.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.1195, allocations: 0.86 MB / 395.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1195, allocations: 0 / 395.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.1197, allocations: 51.84 kB / 395.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.121, allocations: 233.6 kB / 395.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.121, allocations: 8 kB / 395.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004774/0.1258, allocations: 3.838 MB / 399.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1258, allocations: 0 / 399.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.1276, allocations: 0.7209 MB / 400.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.1276, allocations: 31.8 kB / 400.1 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.1277, allocations: 8 kB / 400.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.1279, allocations: 15.98 kB / 400.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.128, allocations: 31.88 kB / 400.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.128, allocations: 12 kB / 400.2 MB, free: 9.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1282, allocations: 161.2 kB / 400.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1282, allocations: 0 / 400.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000564/0.1287, allocations: 104 kB / 400.5 MB, free: 9.324 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.0001183/0.1288, allocations: 115.2 kB / 400.6 MB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009897/0.1298, allocations: 0.5515 MB / 401.1 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1298, allocations: 0 / 401.1 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.1304, allocations: 413.1 kB / 401.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1308, allocations: 20.48 kB / 401.6 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.132, allocations: 0.7124 MB / 402.3 MB, free: 7.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.1322, allocations: 177.6 kB / 402.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.63e-05/0.1323, allocations: 14.3 kB / 402.5 MB, free: 7.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.1323, allocations: 16.5 kB / 402.5 MB, free: 7.199 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1323, allocations: 4 kB / 402.5 MB, free: 7.195 MB / 366.1 MB Notification: Performance of Templates: time 0.01062/0.143, allocations: 5.684 MB / 408.2 MB, free: 1.535 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.618864524061792]