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.001761/0.001761, allocations: 84.55 kB / 20.68 MB, free: 1.027 MB / 14.72 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.002166/0.002166, allocations: 164 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.434/1.434, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..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.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 325.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.538e-05, allocations: 11.44 kB / 325.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01708/0.01711, allocations: 11.35 MB / 336.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.02882, allocations: 4.051 MB / 340.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004208/0.03303, allocations: 98.69 kB / 340.6 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.03669, allocations: 0.9712 MB / 341.6 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006605/0.04329, allocations: 1.286 MB / 342.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.04536, allocations: 0.5342 MB / 343.4 MB, free: 2.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009009/0.05437, allocations: 4.814 MB / 348.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004155/0.05853, allocations: 2.019 MB / 350.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.06904, allocations: 3.155 MB / 353.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006894/0.07593, allocations: 2.295 MB / 355.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001826/0.07776, allocations: 0.5547 MB / 356.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.08062, allocations: 0.6482 MB / 356.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00233/0.08295, allocations: 1.574 MB / 358.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005125/0.08808, allocations: 1.731 MB / 360.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.0998, allocations: 7.557 MB / 367.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.09981, allocations: 0 / 367.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.09981, allocations: 0 / 367.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002692/0.1001, allocations: 0 / 367.8 MB, free: 10.3 MB / 334.1 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.01709/0.1172, allocations: 4.708 MB / 372.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.1172, allocations: 11.97 kB / 372.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.1193, allocations: 0.5526 MB / 373 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006166/0.1255, allocations: 2.54 MB / 375.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002793/0.1258, allocations: 263.4 kB / 375.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007129/0.1265, allocations: 360.1 kB / 376.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.1385, allocations: 5.276 MB / 381.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-05/0.1386, allocations: 7.953 kB / 381.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003885/0.1389, allocations: 148 kB / 381.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002473/0.1392, allocations: 179 kB / 381.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009448/0.1486, allocations: 4.294 MB / 386.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02826/0.1769, allocations: 12.85 MB / 398.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004749/0.1816, allocations: 2.696 MB / 401.6 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003699/0.1853, allocations: 1.87 MB / 403.5 MB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.1856, allocations: 57.97 kB / 403.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.577e-05/0.1857, allocations: 56.56 kB / 403.6 MB, free: 5.898 MB / 366.1 MB Notification: Performance of pre-optimization done (n=198): time 5.35e-06/0.1857, allocations: 3.938 kB / 403.6 MB, free: 5.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=218): time 0.02373/0.2094, allocations: 9.593 MB / 413.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.2095, allocations: 73.41 kB / 413.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/0.2135, allocations: 2.195 MB / 415.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003276/0.2138, allocations: 65.7 kB / 415.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.2152, allocations: 1.664 MB / 417.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008337/0.2161, allocations: 0.7591 MB / 418 MB, free: 7.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007445/0.2168, allocations: 420.4 kB / 418.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2169, allocations: 301.1 kB / 418.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.2192, allocations: 1.297 MB / 420 MB, free: 5.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002712/0.2219, allocations: 1.778 MB / 421.7 MB, free: 3.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005253/0.2271, allocations: 3.215 MB / 425 MB, free: 80 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/0.2271, allocations: 4 kB / 425 MB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007938/0.2351, allocations: 4.042 MB / 429 MB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.2351, allocations: 16.09 kB / 429 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.2351, allocations: 12 kB / 429 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/0.2382, allocations: 0.8804 MB / 429.9 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.2406, allocations: 0.5227 MB / 430.4 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.2524, allocations: 9.005 MB / 439.4 MB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/0.2548, allocations: 115.9 kB / 439.6 MB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/0.2551, allocations: 84 kB / 439.6 MB, free: 1.066 MB / 398.1 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.002833/0.2579, allocations: 1.219 MB / 440.9 MB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000774/0.2587, allocations: 262.4 kB / 441.1 MB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007237/0.2659, allocations: 3.689 MB / 444.8 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.004e-05/0.266, allocations: 23.94 kB / 444.8 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/0.266, allocations: 8 kB / 444.8 MB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/0.266, allocations: 7.969 kB / 444.8 MB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/0.2813, allocations: 7.089 MB / 451.9 MB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.2813, allocations: 4 kB / 451.9 MB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.2831, allocations: 387.8 kB / 452.3 MB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00335/0.2864, allocations: 0.9321 MB / 453.2 MB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/0.2867, allocations: 55.97 kB / 453.3 MB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/0.2996, allocations: 10.48 MB / 463.8 MB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.2996, allocations: 7.938 kB / 463.8 MB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.3099, allocations: 5.473 MB / 469.3 MB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/0.3123, allocations: 0.5373 MB / 469.8 MB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008134/0.3131, allocations: 51.98 kB / 469.8 MB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.3148, allocations: 111.9 kB / 470 MB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005245/0.3153, allocations: 197.5 kB / 470.1 MB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/0.3155, allocations: 59.98 kB / 470.2 MB, free: 1.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002821/0.3183, allocations: 1.497 MB / 471.7 MB, free: 352 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3183, allocations: 0 / 471.7 MB, free: 352 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.1894/0.5078, allocations: 0.7941 MB / 472.5 MB, free: 125.4 MB / 430.1 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007606/0.5085, allocations: 242.6 kB / 472.7 MB, free: 125.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005578/0.5141, allocations: 3.612 MB / 476.3 MB, free: 124.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.5141, allocations: 2.406 kB / 476.3 MB, free: 124.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003438/0.5176, allocations: 2.307 MB / 478.7 MB, free: 123.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/0.5206, allocations: 0.6287 MB / 479.3 MB, free: 123.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.5334, allocations: 7.62 MB / 486.9 MB, free: 120.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/0.5354, allocations: 2.236 MB / 489.1 MB, free: 119.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001992/0.5374, allocations: 0.6458 MB / 489.8 MB, free: 119.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.5379, allocations: 162 kB / 489.9 MB, free: 119.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5379, allocations: 0 / 489.9 MB, free: 119.6 MB / 430.1 MB Notification: Performance of Templates: time 0.05757/0.5955, allocations: 40.24 MB / 0.5178 GB, free: 83.4 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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: 7.708699569106102]