Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.0009588/0.0009588, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001084/0.001084, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.903/0.903, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.945e-05, allocations: 2.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.00936/0.00938, allocations: 12.45 MB / 286 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006753/0.01613, allocations: 4.345 MB / 290.3 MB, free: 404 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.0177, allocations: 103.3 kB / 290.4 MB, free: 300 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1018/0.1195, allocations: 0.9742 MB / 291.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.1228, allocations: 1.299 MB / 292.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1239, allocations: 0.5299 MB / 293.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004563/0.1284, allocations: 4.823 MB / 298 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.1311, allocations: 2.065 MB / 300.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004965/0.136, allocations: 3.366 MB / 303.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.1392, allocations: 2.441 MB / 305.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.1404, allocations: 0.5474 MB / 306.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.1417, allocations: 0.6364 MB / 307.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000947/0.1427, allocations: 1.564 MB / 308.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.1444, allocations: 1.727 MB / 310.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.1473, allocations: 4.03 MB / 314.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1473, allocations: 0.75 kB / 314.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1473, allocations: 0 / 314.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001007/0.1474, allocations: 7.938 kB / 314.4 MB, free: 5.871 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.00398/0.1514, allocations: 4.405 MB / 318.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1514, allocations: 8.031 kB / 318.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009555/0.1524, allocations: 0.6832 MB / 319.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.1542, allocations: 1.647 MB / 321.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.1544, allocations: 261.5 kB / 321.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/0.1547, allocations: 368.5 kB / 321.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.1576, allocations: 2.849 MB / 324.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.763e-05/0.1577, allocations: 7.281 kB / 324.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.1579, allocations: 150.9 kB / 324.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.158, allocations: 179.1 kB / 324.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.1597, allocations: 1.066 MB / 326 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/0.1699, allocations: 9.133 MB / 335.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.1713, allocations: 1.359 MB / 336.5 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009348/0.1722, allocations: 0.7764 MB / 337.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.1724, allocations: 61.98 kB / 337.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.1724, allocations: 52.56 kB / 337.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.178e-06/0.1724, allocations: 0 / 337.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.006884/0.1793, allocations: 3.984 MB / 341.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1794, allocations: 81.39 kB / 341.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.1806, allocations: 1.508 MB / 343 MB, free: 10.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.1807, allocations: 65.69 kB / 343 MB, free: 10.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005558/0.1812, allocations: 1.35 MB / 344.4 MB, free: 9.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.1816, allocations: 0.7621 MB / 345.1 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004063/0.182, allocations: 390.2 kB / 345.5 MB, free: 8.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.1821, allocations: 309.1 kB / 345.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.1825, allocations: 287.8 kB / 346.1 MB, free: 7.453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.1831, allocations: 0.725 MB / 346.8 MB, free: 6.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.1843, allocations: 1.281 MB / 348.1 MB, free: 5.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.1843, allocations: 4 kB / 348.1 MB, free: 5.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002074/0.1863, allocations: 1.534 MB / 349.6 MB, free: 3.789 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1864, allocations: 11.94 kB / 349.7 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.1864, allocations: 20.41 kB / 349.7 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.1877, allocations: 0.5681 MB / 350.2 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.1887, allocations: 0.4908 MB / 350.7 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004104/0.1928, allocations: 5.669 MB / 356.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009374/0.1938, allocations: 67.98 kB / 356.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.1939, allocations: 67.98 kB / 356.5 MB, free: 12.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007734/0.1946, allocations: 259.6 kB / 356.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.195, allocations: 235.7 kB / 357 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.1969, allocations: 1.415 MB / 358.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.197, allocations: 20 kB / 358.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.197, allocations: 8 kB / 358.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.197, allocations: 11.95 kB / 358.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/0.2019, allocations: 3.436 MB / 361.9 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.2019, allocations: 0 / 361.9 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/0.2028, allocations: 356.7 kB / 362.3 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001509/0.2043, allocations: 0.6859 MB / 362.9 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.2044, allocations: 55.97 kB / 363 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004417/0.2088, allocations: 6.899 MB / 369.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2088, allocations: 8 kB / 369.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.2115, allocations: 1.952 MB / 371.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/0.2122, allocations: 321.3 kB / 372.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.2125, allocations: 51.98 kB / 372.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/0.2131, allocations: 79.95 kB / 372.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/0.2133, allocations: 180.9 kB / 372.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/0.2134, allocations: 47.98 kB / 372.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007835/0.2142, allocations: 0.7699 MB / 373.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2142, allocations: 0 / 373.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001785/0.216, allocations: 0.7812 MB / 374.1 MB, free: 11.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,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.00045/0.2164, allocations: 229.4 kB / 374.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002126/0.2186, allocations: 1.72 MB / 376 MB, free: 9.352 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.311e-05/0.2186, allocations: 30 kB / 376.1 MB, free: 9.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.2199, allocations: 1.339 MB / 377.4 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.2215, allocations: 0.6561 MB / 378 MB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008432/0.2299, allocations: 6.16 MB / 384.2 MB, free: 1.117 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007893/0.2307, allocations: 0.8619 MB / 385.1 MB, free: 240 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001011/0.2317, allocations: 313.2 kB / 385.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.2328, allocations: 0.62 MB / 386 MB, free: 15.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.272e-06/0.2328, allocations: 0 / 386 MB, free: 15.3 MB / 346.7 MB Notification: Performance of Templates: time 0.05279/0.2856, allocations: 42.39 MB / 428.4 MB, free: 5.59 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","",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.009282938670367]