Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.0019/0.0019, allocations: 73.64 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.00219/0.00219, allocations: 148.5 kB / 24.48 MB, free: 3.73 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.411/1.411, allocations: 173.4 MB / 201.1 MB, free: 12.68 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.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 47.27 kB / 319.4 MB, free: 3.488 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08766/0.08922, allocations: 52.16 MB / 371.6 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007973/0.09719, allocations: 5.803 MB / 377.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004576/0.1018, allocations: 2.394 MB / 379.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005677/0.1023, allocations: 16 kB / 379.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003103/0.1054, allocations: 1.248 MB / 381 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.1071, allocations: 0.6601 MB / 381.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.1094, allocations: 1.054 MB / 382.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1107, allocations: 1.067 MB / 383.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.1117, allocations: 0.7584 MB / 384.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005174/0.1123, allocations: 458.3 kB / 385 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006747/0.1129, allocations: 485.7 kB / 385.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.1131, allocations: 100 kB / 385.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000781/0.1139, allocations: 379.7 kB / 386 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.1141, allocations: 231.1 kB / 386.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004359/0.1145, allocations: 437.9 kB / 386.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.1162, allocations: 1.518 MB / 388.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1162, allocations: 0 / 388.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1162, allocations: 0 / 388.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1163, allocations: 0 / 388.1 MB, free: 6.863 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004437/0.1207, allocations: 1.685 MB / 389.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1207, allocations: 12.92 kB / 389.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/0.124, allocations: 475.8 kB / 390.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/0.1247, allocations: 444.1 kB / 390.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.023e-05/0.1248, allocations: 82.22 kB / 390.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.125, allocations: 115.9 kB / 390.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.1269, allocations: 1.021 MB / 391.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.1269, allocations: 4 kB / 391.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-05/0.127, allocations: 44 kB / 392 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.127, allocations: 28 kB / 392 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.129, allocations: 0.9535 MB / 393 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005554/0.1345, allocations: 2.928 MB / 395.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.1363, allocations: 0.8064 MB / 396.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/0.1371, allocations: 396.3 kB / 397.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-05/0.1372, allocations: 16.98 kB / 397.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009283/0.1381, allocations: 0.5252 MB / 397.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.936e-06/0.1381, allocations: 0 / 397.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009386/0.1475, allocations: 3.699 MB / 401.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.1476, allocations: 145.5 kB / 401.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.148, allocations: 373.5 kB / 401.8 MB, free: 8.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.1481, allocations: 49.64 kB / 401.9 MB, free: 8.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.1485, allocations: 440.9 kB / 402.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.1488, allocations: 440.2 kB / 402.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.1492, allocations: 206.9 kB / 402.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1493, allocations: 374.8 kB / 403.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/0.1501, allocations: 350.5 kB / 403.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009697/0.1511, allocations: 0.5892 MB / 404.2 MB, free: 6.266 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.1528, allocations: 0.9333 MB / 405.2 MB, free: 5.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1528, allocations: 0 / 405.2 MB, free: 5.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002827/0.1557, allocations: 1.355 MB / 406.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.1557, allocations: 11.94 kB / 406.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.1557, allocations: 4 kB / 406.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000943/0.1566, allocations: 354.7 kB / 406.9 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009018/0.1575, allocations: 203.7 kB / 407.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008836/0.1664, allocations: 7.887 MB / 415 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007584/0.1671, allocations: 48.17 kB / 415 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.1673, allocations: 47.98 kB / 415.1 MB, free: 10.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005004/0.1678, allocations: 257.7 kB / 415.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.1679, allocations: 75.52 kB / 415.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.1707, allocations: 1.289 MB / 416.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.1707, allocations: 19.92 kB / 416.7 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/0.1707, allocations: 8 kB / 416.7 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.1707, allocations: 3.984 kB / 416.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/0.1752, allocations: 2.202 MB / 418.9 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.1752, allocations: 128 / 418.9 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/0.176, allocations: 155.8 kB / 419.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008511/0.1768, allocations: 335.2 kB / 419.4 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/0.1769, allocations: 24 kB / 419.4 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008277/0.1852, allocations: 7.525 MB / 427 MB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1852, allocations: 3.938 kB / 427 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/0.1888, allocations: 1.81 MB / 428.8 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.1892, allocations: 139.7 kB / 428.9 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.1893, allocations: 27.98 kB / 428.9 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/0.1899, allocations: 43.98 kB / 429 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.1901, allocations: 108.7 kB / 429.1 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.1902, allocations: 35.98 kB / 429.1 MB, free: 12.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003128/0.1905, allocations: 247.2 kB / 429.4 MB, free: 12.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1905, allocations: 0 / 429.4 MB, free: 12.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001269/0.1918, allocations: 315.9 kB / 429.7 MB, free: 11.8 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003106/0.1921, allocations: 163.1 kB / 429.8 MB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002962/0.195, allocations: 1.556 MB / 431.4 MB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.195, allocations: 0 / 431.4 MB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.1968, allocations: 1.096 MB / 432.5 MB, free: 8.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/0.1974, allocations: 77.42 kB / 432.5 MB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.2013, allocations: 1.94 MB / 434.5 MB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.2018, allocations: 432 kB / 434.9 MB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004185/0.2022, allocations: 97.92 kB / 435 MB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.2024, allocations: 60.42 kB / 435.1 MB, free: 6.203 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2024, allocations: 3.938 kB / 435.1 MB, free: 6.199 MB / 398.1 MB Notification: Performance of Templates: time 0.02189/0.2243, allocations: 10.86 MB / 445.9 MB, free: 11.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.862454605055973]