Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.00157/0.00157, allocations: 119.4 kB / 18.41 MB, free: 4.648 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.001716/0.001716, allocations: 196.3 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001627, allocations: 43.92 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.1005, allocations: 49.43 MB / 408.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004899/0.1054, allocations: 2.845 MB / 410.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1077, allocations: 1.145 MB / 412.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.1079, allocations: 7.938 kB / 412.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.1097, allocations: 0.6107 MB / 412.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.1102, allocations: 143 kB / 412.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.1116, allocations: 0.6765 MB / 413.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000461/0.1121, allocations: 290.6 kB / 413.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/0.1125, allocations: 274.8 kB / 414.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.1128, allocations: 139.4 kB / 414.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.113, allocations: 167.4 kB / 414.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.1131, allocations: 24 kB / 414.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.1135, allocations: 175.9 kB / 414.6 MB, free: 380 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.1135, allocations: 63.7 kB / 414.6 MB, free: 316 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.1137, allocations: 147.3 kB / 414.8 MB, free: 168 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007542/0.1145, allocations: 0.4944 MB / 415.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1145, allocations: 4 kB / 415.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1145, allocations: 0 / 415.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1145, allocations: 0 / 415.3 MB, free: 15.66 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001794/0.1163, allocations: 0.7325 MB / 416 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1164, allocations: 12.03 kB / 416 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008593/0.1172, allocations: 128.5 kB / 416.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.1177, allocations: 260.6 kB / 416.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.1178, allocations: 29.03 kB / 416.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.1178, allocations: 28.38 kB / 416.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/0.1185, allocations: 329 kB / 416.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.1185, allocations: 7.953 kB / 416.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.1186, allocations: 16 kB / 416.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.1186, allocations: 8 kB / 416.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.119, allocations: 246.4 kB / 417 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.1212, allocations: 1.436 MB / 418.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008068/0.122, allocations: 0.6939 MB / 419.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.1222, allocations: 104.8 kB / 419.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.1224, allocations: 93.03 kB / 419.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1224, allocations: 34.56 kB / 419.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.1224, allocations: 0 / 419.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001317/0.1238, allocations: 0.4899 MB / 419.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1238, allocations: 51.41 kB / 419.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.124, allocations: 180.9 kB / 420.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.1241, allocations: 29.7 kB / 420.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1242, allocations: 176.4 kB / 420.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.1243, allocations: 91.25 kB / 420.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/0.1244, allocations: 57.94 kB / 420.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1246, allocations: 322.8 kB / 420.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1247, allocations: 72.53 kB / 420.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1249, allocations: 132.1 kB / 421 MB, free: 9.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.1252, allocations: 216.1 kB / 421.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1253, allocations: 0 / 421.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006124/0.1259, allocations: 332.5 kB / 421.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1259, allocations: 8 kB / 421.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1259, allocations: 0 / 421.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/0.1262, allocations: 84.95 kB / 421.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.1264, allocations: 43.92 kB / 421.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.1287, allocations: 2.029 MB / 423.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1289, allocations: 23.78 kB / 423.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1289, allocations: 16 kB / 423.7 MB, free: 6.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.1291, allocations: 149.8 kB / 423.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.1291, allocations: 19.84 kB / 423.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005949/0.1297, allocations: 293.5 kB / 424.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1297, allocations: 0 / 424.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1298, allocations: 8 kB / 424.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1298, allocations: 0 / 424.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.1309, allocations: 0.6865 MB / 424.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1309, allocations: 0 / 424.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.131, allocations: 27.98 kB / 424.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/0.1313, allocations: 80.97 kB / 425 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1313, allocations: 4 kB / 425 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.1335, allocations: 2.03 MB / 427 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1335, allocations: 0 / 427 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006918/0.1342, allocations: 455.8 kB / 427.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1343, allocations: 109 kB / 427.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1344, allocations: 4 kB / 427.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1345, allocations: 11.98 kB / 427.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.1345, allocations: 11.98 kB / 427.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1345, allocations: 8 kB / 427.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1347, allocations: 131.5 kB / 427.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1347, allocations: 7.938 kB / 427.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004877/0.1352, allocations: 95.77 kB / 427.8 MB, free: 2.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002167/0.1354, allocations: 115.2 kB / 427.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006335/0.136, allocations: 362.2 kB / 428.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1361, allocations: 0 / 428.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.1364, allocations: 250.7 kB / 428.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1368, allocations: 28.36 kB / 428.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1378, allocations: 0.5961 MB / 429.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.1382, allocations: 0.7599 MB / 429.9 MB, free: 0 / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1693/0.3075, allocations: 15.36 kB / 429.9 MB, free: 21.77 MB / 350.1 MB Notification: Performance of SimCode: time 1.243e-06/0.3076, allocations: 0 / 429.9 MB, free: 21.77 MB / 350.1 MB Notification: Performance of Templates: time 0.006366/0.3139, allocations: 3.99 MB / 433.9 MB, free: 21.55 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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: 13.784097565920092]