Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.0009028/0.0009028, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003335/0.003335, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8595/0.8595, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.226/0.226, allocations: 34.26 MB / 295.7 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.331e-05, allocations: 8.812 kB / 443.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.1812/0.1812, allocations: 2.358 MB / 445.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1823, allocations: 1.028 MB / 446.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.1824, allocations: 5.375 kB / 446.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.183, allocations: 0.4892 MB / 447.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.1831, allocations: 102.2 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.1836, allocations: 471.9 kB / 447.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.1837, allocations: 229 kB / 448.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.184, allocations: 210.5 kB / 448.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1841, allocations: 145.2 kB / 448.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.1842, allocations: 96.12 kB / 448.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1842, allocations: 23.44 kB / 448.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1844, allocations: 149.5 kB / 448.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.1844, allocations: 50.14 kB / 448.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.1845, allocations: 76.91 kB / 448.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.1847, allocations: 415.2 kB / 449.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1847, allocations: 0 / 449.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1847, allocations: 0 / 449.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1847, allocations: 7.25 kB / 449.2 MB, free: 41.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007043/0.1854, allocations: 0.5515 MB / 449.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1855, allocations: 8.469 kB / 449.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.1856, allocations: 54.91 kB / 449.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.653e-05/0.1857, allocations: 131.8 kB / 450 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1857, allocations: 20.72 kB / 450 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1858, allocations: 26.78 kB / 450 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.1861, allocations: 291.8 kB / 450.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1861, allocations: 4.125 kB / 450.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1861, allocations: 11.22 kB / 450.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1861, allocations: 9.562 kB / 450.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.1864, allocations: 227.9 kB / 450.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007472/0.1871, allocations: 0.8231 MB / 451.4 MB, free: 40.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1873, allocations: 201.1 kB / 451.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.1875, allocations: 128.4 kB / 451.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.191e-05/0.1876, allocations: 18.48 kB / 451.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.155e-05/0.1876, allocations: 37.34 kB / 451.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.1876, allocations: 0 / 451.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005667/0.1882, allocations: 353.2 kB / 452.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.1882, allocations: 79.89 kB / 452.2 MB, free: 39.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.83e-05/0.1882, allocations: 128.3 kB / 452.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.1883, allocations: 29.7 kB / 452.3 MB, free: 39.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.1883, allocations: 150 kB / 452.5 MB, free: 39.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1883, allocations: 71.92 kB / 452.5 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1884, allocations: 42.83 kB / 452.6 MB, free: 39.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.216e-05/0.1884, allocations: 328.8 kB / 452.9 MB, free: 39.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.597e-05/0.1885, allocations: 67.08 kB / 453 MB, free: 39.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1886, allocations: 125.1 kB / 453.1 MB, free: 39.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.1888, allocations: 204.3 kB / 453.3 MB, free: 39.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1888, allocations: 0 / 453.3 MB, free: 39.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000292/0.1891, allocations: 280.8 kB / 453.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1891, allocations: 8.594 kB / 453.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1891, allocations: 2.875 kB / 453.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.1892, allocations: 50.86 kB / 453.6 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/0.1893, allocations: 49.23 kB / 453.7 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007635/0.1901, allocations: 2.574 MB / 456.2 MB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.1902, allocations: 29.86 kB / 456.3 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1902, allocations: 8.812 kB / 456.3 MB, free: 36.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/0.1902, allocations: 138.1 kB / 456.4 MB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.1903, allocations: 15.19 kB / 456.4 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.1906, allocations: 263.7 kB / 456.7 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1906, allocations: 2.781 kB / 456.7 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1906, allocations: 0 / 456.7 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1906, allocations: 2.844 kB / 456.7 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.1911, allocations: 0.5564 MB / 457.3 MB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1911, allocations: 0 / 457.3 MB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.1911, allocations: 38.88 kB / 457.3 MB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.39e-05/0.1912, allocations: 53.69 kB / 457.3 MB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1912, allocations: 2.562 kB / 457.3 MB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006042/0.1918, allocations: 2.584 MB / 459.9 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1918, allocations: 3.375 kB / 459.9 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.1922, allocations: 0.5173 MB / 460.5 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.1922, allocations: 13.52 kB / 460.5 MB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.1922, allocations: 14.33 kB / 460.5 MB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.1923, allocations: 9.234 kB / 460.5 MB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1923, allocations: 23.88 kB / 460.5 MB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1924, allocations: 9.812 kB / 460.5 MB, free: 32.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.386e-05/0.1924, allocations: 93.91 kB / 460.6 MB, free: 32.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1924, allocations: 3.938 kB / 460.6 MB, free: 32.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.1926, allocations: 78.91 kB / 460.7 MB, free: 32.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.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): 13 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001392/0.1928, allocations: 127.9 kB / 460.8 MB, free: 32.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.1931, allocations: 414.5 kB / 461.2 MB, free: 32.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1931, allocations: 0 / 461.2 MB, free: 32.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.1933, allocations: 322.9 kB / 461.5 MB, free: 32.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.1935, allocations: 17.28 kB / 461.6 MB, free: 32.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.194, allocations: 471.2 kB / 462 MB, free: 31.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.911e-05/0.194, allocations: 124.8 kB / 462.1 MB, free: 31.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.1941, allocations: 17.12 kB / 462.2 MB, free: 31.61 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1941, allocations: 0 / 462.2 MB, free: 31.61 MB / 410.7 MB Notification: Performance of Templates: time 0.003244/0.1973, allocations: 4.428 MB / 466.6 MB, free: 31.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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: 5.164457713253796]