Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004466/0.004466, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9397/0.9397, allocations: 177 MB / 204.9 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2484/0.2484, allocations: 34.24 MB / 295.6 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.044e-05, allocations: 2.281 kB / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.1821/0.1822, allocations: 1.703 MB / 445.1 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.1823, allocations: 85.42 kB / 445.2 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.1824, allocations: 3.031 kB / 445.2 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.772e-05/0.1824, allocations: 20.92 kB / 445.2 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.1825, allocations: 19.58 kB / 445.2 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.791e-05/0.1826, allocations: 28.52 kB / 445.2 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.835e-05/0.1827, allocations: 111.5 kB / 445.3 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1828, allocations: 32.78 kB / 445.4 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.1829, allocations: 65.42 kB / 445.4 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.1829, allocations: 38.86 kB / 445.5 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.183, allocations: 10.59 kB / 445.5 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.183, allocations: 11.41 kB / 445.5 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.183, allocations: 25.59 kB / 445.5 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.183, allocations: 33.06 kB / 445.6 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1832, allocations: 119.8 kB / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1832, allocations: 0 / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1832, allocations: 0 / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1832, allocations: 0 / 445.7 MB, free: 43.49 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000434/0.1836, allocations: 347.7 kB / 446 MB, free: 43.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1836, allocations: 8.375 kB / 446 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.1837, allocations: 13.73 kB / 446 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.846e-05/0.1838, allocations: 124.4 kB / 446.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1838, allocations: 7.562 kB / 446.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.1838, allocations: 9.438 kB / 446.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.184, allocations: 126.5 kB / 446.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.184, allocations: 2.906 kB / 446.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.184, allocations: 9.891 kB / 446.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.184, allocations: 2.969 kB / 446.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.1842, allocations: 109.5 kB / 446.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.1847, allocations: 387.2 kB / 446.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1849, allocations: 77.14 kB / 446.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.185, allocations: 64 kB / 446.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.185, allocations: 4.438 kB / 446.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.185, allocations: 36.75 kB / 447 MB, free: 42.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.185, allocations: 2.938 kB / 447 MB, free: 42.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004554/0.1855, allocations: 186.1 kB / 447.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.1855, allocations: 55.34 kB / 447.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.385e-05/0.1856, allocations: 118.3 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.1856, allocations: 25.7 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.1856, allocations: 114.9 kB / 447.5 MB, free: 42.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.1856, allocations: 21.86 kB / 447.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.1856, allocations: 20.97 kB / 447.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.129e-05/0.1857, allocations: 320.3 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.1857, allocations: 33.67 kB / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.957e-05/0.1858, allocations: 62.64 kB / 447.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.186, allocations: 99.2 kB / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.186, allocations: 0 / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002015/0.1862, allocations: 147.8 kB / 448.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1862, allocations: 5.781 kB / 448.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1862, allocations: 0 / 448.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.1863, allocations: 27.75 kB / 448.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.1864, allocations: 20.02 kB / 448.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005687/0.187, allocations: 1.271 MB / 449.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.187, allocations: 20 kB / 449.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.187, allocations: 3.188 kB / 449.5 MB, free: 40.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.529e-05/0.1871, allocations: 124.9 kB / 449.6 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.1871, allocations: 6.828 kB / 449.6 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.2e-05/0.1871, allocations: 14.66 kB / 449.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1871, allocations: 0 / 449.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1871, allocations: 3.938 kB / 449.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1871, allocations: 2.906 kB / 449.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.1874, allocations: 355.7 kB / 450 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1874, allocations: 4.031 kB / 450 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.1875, allocations: 18.89 kB / 450 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-05/0.1875, allocations: 19.67 kB / 450 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1875, allocations: 7.938 kB / 450.1 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003765/0.1879, allocations: 1.272 MB / 451.3 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1879, allocations: 0 / 451.3 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.1881, allocations: 244.2 kB / 451.6 MB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-06/0.1881, allocations: 2.75 kB / 451.6 MB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-06/0.1881, allocations: 6.656 kB / 451.6 MB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.074e-05/0.1881, allocations: 12.3 kB / 451.6 MB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1882, allocations: 10.08 kB / 451.6 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1882, allocations: 2.781 kB / 451.6 MB, free: 38.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.288e-05/0.1882, allocations: 95.44 kB / 451.7 MB, free: 38.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1882, allocations: 4 kB / 451.7 MB, free: 38.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.1884, allocations: 31.42 kB / 451.7 MB, free: 38.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.267e-05/0.1885, allocations: 91.14 kB / 451.8 MB, free: 38.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.1887, allocations: 199.3 kB / 452 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.1887, allocations: 4.125 kB / 452 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1889, allocations: 157.2 kB / 452.2 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.1891, allocations: 10.11 kB / 452.2 MB, free: 38.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.1894, allocations: 241.9 kB / 452.4 MB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.572e-05/0.1895, allocations: 85.27 kB / 452.5 MB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.1895, allocations: 11.31 kB / 452.5 MB, free: 37.97 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1895, allocations: 0 / 452.5 MB, free: 37.97 MB / 410.7 MB Notification: Performance of Templates: time 0.002394/0.1919, allocations: 1.634 MB / 454.1 MB, free: 37.87 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.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.207901147194207]