Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001381/0.001381, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001648/0.001648, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.505/1.505, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2209/0.2209, allocations: 34.25 MB / 294.8 MB, free: 14.54 MB / 286.1 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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 442.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.869e-05, allocations: 2.281 kB / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005445/0.005474, allocations: 3.231 MB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.007444, allocations: 0.8137 MB / 446.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.007648, allocations: 12 kB / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.007898, allocations: 75.17 kB / 446.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.008194, allocations: 138.8 kB / 446.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.008646, allocations: 123.8 kB / 447 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006772/0.009323, allocations: 0.5489 MB / 447.6 MB, free: 344 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.009689, allocations: 166.3 kB / 447.7 MB, free: 172 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2032/0.2129, allocations: 311.1 kB / 448.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.2132, allocations: 170.2 kB / 448.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.433e-05/0.2133, allocations: 48.66 kB / 448.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.788e-05/0.2134, allocations: 51.78 kB / 448.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.2135, allocations: 109.1 kB / 448.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.2137, allocations: 174.3 kB / 448.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.2144, allocations: 0.5675 MB / 449.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2144, allocations: 0 / 449.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2144, allocations: 2.125 kB / 449.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.2144, allocations: 1.125 kB / 449.2 MB, free: 15.57 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001299/0.2157, allocations: 0.6902 MB / 449.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2157, allocations: 10.27 kB / 449.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.2159, allocations: 55.19 kB / 449.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.2163, allocations: 256.9 kB / 450.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.2164, allocations: 37.53 kB / 450.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.2164, allocations: 47.27 kB / 450.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.2173, allocations: 0.5022 MB / 450.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.2173, allocations: 2.312 kB / 450.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.2174, allocations: 20.38 kB / 450.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.2174, allocations: 15.59 kB / 450.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007162/0.2181, allocations: 326.7 kB / 451.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.2202, allocations: 1.448 MB / 452.6 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.2208, allocations: 232.4 kB / 452.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.2211, allocations: 127.3 kB / 452.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2211, allocations: 5.656 kB / 452.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.2211, allocations: 40.69 kB / 453 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.2211, allocations: 1.375 kB / 453 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00281/0.224, allocations: 1.125 MB / 454.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.224, allocations: 80.48 kB / 454.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.2243, allocations: 262.5 kB / 454.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.2243, allocations: 32.33 kB / 454.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.2244, allocations: 265.1 kB / 454.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.2245, allocations: 122.7 kB / 454.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.2246, allocations: 77.91 kB / 454.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.2247, allocations: 339.2 kB / 455.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.2249, allocations: 116.8 kB / 455.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.2253, allocations: 208.3 kB / 455.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.2259, allocations: 342.4 kB / 455.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2259, allocations: 0.9688 kB / 455.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008251/0.2267, allocations: 425.2 kB / 456.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.2267, allocations: 6.469 kB / 456.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2267, allocations: 3.312 kB / 456.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.2269, allocations: 40.73 kB / 456.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.2273, allocations: 118.9 kB / 456.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008223/0.2282, allocations: 1.306 MB / 457.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.2284, allocations: 23.28 kB / 457.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.2285, allocations: 17.53 kB / 457.8 MB, free: 10.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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 0.0001627/0.2286, allocations: 166.8 kB / 458 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.2287, allocations: 34.17 kB / 458 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.499e-05/0.2288, allocations: 34.91 kB / 458 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2288, allocations: 8.281 kB / 458.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2288, allocations: 0.9062 kB / 458.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2288, allocations: 2.859 kB / 458.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000974/0.2298, allocations: 0.5881 MB / 458.6 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2298, allocations: 6.391 kB / 458.6 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.2302, allocations: 89.69 kB / 458.7 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.944e-05/0.2303, allocations: 28 kB / 458.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.2303, allocations: 8.719 kB / 458.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006811/0.231, allocations: 1.301 MB / 460.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.231, allocations: 1.844 kB / 460.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.232, allocations: 0.5961 MB / 460.7 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/0.2321, allocations: 47 kB / 460.7 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.2322, allocations: 8.188 kB / 460.7 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.2324, allocations: 26.22 kB / 460.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.2325, allocations: 22.39 kB / 460.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.2325, allocations: 12.16 kB / 460.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.2327, allocations: 181.5 kB / 461 MB, free: 7.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2327, allocations: 0 / 461 MB, free: 7.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004714/0.2332, allocations: 92.28 kB / 461.1 MB, free: 7.941 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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 0.000108/0.2333, allocations: 102.4 kB / 461.2 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008142/0.2341, allocations: 395.6 kB / 461.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2341, allocations: 1 kB / 461.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.2345, allocations: 251.2 kB / 461.8 MB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.2349, allocations: 43.64 kB / 461.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2364, allocations: 0.8228 MB / 462.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2366, allocations: 205.4 kB / 462.9 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.2368, allocations: 33.7 kB / 462.9 MB, free: 6.875 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.2368, allocations: 29.41 kB / 462.9 MB, free: 6.867 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2368, allocations: 0 / 462.9 MB, free: 6.867 MB / 366.1 MB Notification: Performance of Templates: time 0.008172/0.245, allocations: 2.933 MB / 465.8 MB, free: 6.477 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.163981609046459]