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.001317/0.001317, allocations: 73.88 kB / 21.24 MB, free: 0.5547 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.001668/0.001668, allocations: 149.5 kB / 24.49 MB, free: 3.723 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.419/1.419, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.002261/0.002261, allocations: 46.14 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08698/0.08924, allocations: 52.17 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004132/0.09338, allocations: 2.657 MB / 374.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.09527, allocations: 1.067 MB / 375.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.09539, allocations: 11.94 kB / 375.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.09693, allocations: 0.5991 MB / 375.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.09725, allocations: 131 kB / 376 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.09859, allocations: 0.6439 MB / 376.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.09902, allocations: 294.6 kB / 377 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004198/0.09944, allocations: 235.1 kB / 377.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.09964, allocations: 139.4 kB / 377.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.09986, allocations: 143.4 kB / 377.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.0999, allocations: 24 kB / 377.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.1002, allocations: 167.9 kB / 377.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.1003, allocations: 67.7 kB / 377.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1004, allocations: 119.5 kB / 377.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.1011, allocations: 0.4905 MB / 378.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1011, allocations: 3.938 kB / 378.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1011, allocations: 0 / 378.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1011, allocations: 0 / 378.3 MB, free: 0.5625 MB / 334.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.001639/0.1027, allocations: 0.665 MB / 379 MB, free: 15.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1027, allocations: 12.92 kB / 379 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008527/0.1036, allocations: 120.6 kB / 379.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.104, allocations: 210.7 kB / 379.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.104, allocations: 29.03 kB / 379.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.104, allocations: 32.36 kB / 379.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.1046, allocations: 333 kB / 379.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.1046, allocations: 7.953 kB / 379.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.1046, allocations: 11.98 kB / 379.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.1046, allocations: 8 kB / 379.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.1051, allocations: 238.5 kB / 380 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.1069, allocations: 1.032 MB / 381 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.1074, allocations: 226.6 kB / 381.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.1075, allocations: 88.83 kB / 381.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.476e-05/0.1076, allocations: 11.98 kB / 381.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1076, allocations: 42.5 kB / 381.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 3.497e-06/0.1076, allocations: 3.984 kB / 381.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001194/0.1088, allocations: 409 kB / 381.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1089, allocations: 55.41 kB / 381.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.109, allocations: 166.2 kB / 382 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.109, allocations: 25.7 kB / 382 MB, free: 12.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1092, allocations: 184.3 kB / 382.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.1092, allocations: 91.22 kB / 382.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.1093, allocations: 49.98 kB / 382.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1095, allocations: 326.8 kB / 382.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1096, allocations: 72.47 kB / 382.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1098, allocations: 129 kB / 382.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.1101, allocations: 224 kB / 383.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1101, allocations: 4 kB / 383.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005928/0.1107, allocations: 328.4 kB / 383.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1107, allocations: 4 kB / 383.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1107, allocations: 4 kB / 383.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002998/0.111, allocations: 76.73 kB / 383.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1111, allocations: 43.92 kB / 383.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.1132, allocations: 1.892 MB / 385.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1134, allocations: 23.78 kB / 385.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.1134, allocations: 8 kB / 385.5 MB, free: 9.074 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.0001523/0.1135, allocations: 153.8 kB / 385.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.1136, allocations: 15.91 kB / 385.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000571/0.1142, allocations: 282.1 kB / 385.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1142, allocations: 4 kB / 385.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1142, allocations: 0 / 385.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1142, allocations: 0 / 385.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.1151, allocations: 0.5847 MB / 386.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1151, allocations: 0 / 386.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1152, allocations: 24 kB / 386.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/0.1155, allocations: 77 kB / 386.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1155, allocations: 11.94 kB / 386.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.1175, allocations: 1.884 MB / 388.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1175, allocations: 4.031 kB / 388.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.1181, allocations: 442.1 kB / 388.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.1182, allocations: 39.92 kB / 389 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1182, allocations: 8 kB / 389 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1184, allocations: 7.938 kB / 389 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.1184, allocations: 23.95 kB / 389 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1184, allocations: 4 kB / 389 MB, free: 5.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.454e-05/0.1185, allocations: 118.2 kB / 389.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1185, allocations: 0 / 389.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004944/0.119, allocations: 99.77 kB / 389.2 MB, free: 5.145 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.0002006/0.1192, allocations: 131.2 kB / 389.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006928/0.1199, allocations: 326.4 kB / 389.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1199, allocations: 4.438 kB / 389.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.1202, allocations: 246.4 kB / 389.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.1206, allocations: 16.27 kB / 389.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1216, allocations: 0.575 MB / 390.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.1217, allocations: 146.5 kB / 390.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.925e-05/0.1218, allocations: 17.95 kB / 390.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.1219, allocations: 20.5 kB / 390.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1219, allocations: 0 / 390.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of Templates: time 0.006737/0.1286, allocations: 2.574 MB / 393.2 MB, free: 1.055 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.223558799014427]