Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.0009556/0.0009556, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001014/0.001014, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9425/0.9425, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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(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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 273 MB, free: 1.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.155e-05, allocations: 5.266 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.02574/0.02576, allocations: 12.9 MB / 285.9 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006874/0.03263, allocations: 4.226 MB / 290.1 MB, free: 192 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.03384, allocations: 103.3 kB / 290.2 MB, free: 88 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1112/0.145, allocations: 0.9667 MB / 291.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.1481, allocations: 1.311 MB / 292.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.149, allocations: 0.5384 MB / 293 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003985/0.153, allocations: 4.856 MB / 297.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.1552, allocations: 2.019 MB / 299.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003954/0.1592, allocations: 3.396 MB / 303.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/0.162, allocations: 2.451 MB / 305.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.163, allocations: 0.5428 MB / 306.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009718/0.164, allocations: 0.6425 MB / 306.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007724/0.1648, allocations: 1.58 MB / 308.5 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.1665, allocations: 1.723 MB / 310.2 MB, free: 9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.1692, allocations: 4.056 MB / 314.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1692, allocations: 0.75 kB / 314.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1692, allocations: 4 kB / 314.3 MB, free: 5.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.702e-05/0.1692, allocations: 0.75 kB / 314.3 MB, free: 5.723 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.004212/0.1734, allocations: 4.952 MB / 319.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1734, allocations: 15.98 kB / 319.2 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.1745, allocations: 0.8385 MB / 320.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.177, allocations: 2.384 MB / 322.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.1772, allocations: 266.3 kB / 322.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/0.1775, allocations: 362.5 kB / 323.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/0.1816, allocations: 3.048 MB / 326.1 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.117e-05/0.1817, allocations: 7.953 kB / 326.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.1819, allocations: 146.4 kB / 326.3 MB, free: 9.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.182, allocations: 199.1 kB / 326.5 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.1847, allocations: 1.327 MB / 327.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.197, allocations: 11.83 MB / 339.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.1988, allocations: 1.527 MB / 341.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.2, allocations: 0.9522 MB / 342.1 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.2002, allocations: 65.95 kB / 342.2 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.2002, allocations: 59.39 kB / 342.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.327e-06/0.2002, allocations: 0 / 342.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.00796/0.2082, allocations: 5.098 MB / 347.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.2082, allocations: 81.41 kB / 347.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.21, allocations: 1.885 MB / 349.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.2101, allocations: 65.7 kB / 349.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008718/0.211, allocations: 1.787 MB / 351.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007563/0.2118, allocations: 0.7836 MB / 351.9 MB, free: 8 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004716/0.2122, allocations: 445.6 kB / 352.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.2123, allocations: 480.7 kB / 352.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/0.213, allocations: 380.4 kB / 353.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009537/0.2139, allocations: 1.046 MB / 354.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.2157, allocations: 1.611 MB / 355.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.2157, allocations: 4 kB / 355.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002824/0.2185, allocations: 2.112 MB / 358 MB, free: 9.578 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2185, allocations: 8 kB / 358 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.2185, allocations: 15.56 kB / 358 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.2202, allocations: 0.6025 MB / 358.6 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.2213, allocations: 0.5212 MB / 359.1 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005163/0.2264, allocations: 7.797 MB / 366.9 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/0.2272, allocations: 103.9 kB / 367 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.2273, allocations: 84 kB / 367.1 MB, free: 140 kB / 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.0006372/0.228, allocations: 299.3 kB / 367.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.2283, allocations: 341.7 kB / 367.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.2308, allocations: 1.844 MB / 369.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.2308, allocations: 20 kB / 369.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2308, allocations: 8 kB / 369.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.2308, allocations: 11.95 kB / 369.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006438/0.2372, allocations: 5.011 MB / 374.6 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.2372, allocations: 4 kB / 374.6 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008489/0.2381, allocations: 375.9 kB / 375 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.2396, allocations: 0.6662 MB / 375.7 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.2397, allocations: 55.97 kB / 375.7 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005722/0.2455, allocations: 9.488 MB / 385.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2455, allocations: 4 kB / 385.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.249, allocations: 2.54 MB / 387.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/0.2497, allocations: 0.4981 MB / 388.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.2499, allocations: 51.98 kB / 388.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006018/0.2505, allocations: 99.92 kB / 388.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/0.2508, allocations: 193.5 kB / 388.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-05/0.2509, allocations: 67.98 kB / 388.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0011/0.252, allocations: 1.075 MB / 389.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.252, allocations: 0 / 389.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001594/0.2536, allocations: 0.7852 MB / 390.5 MB, free: 8.086 MB / 346.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.0004272/0.254, allocations: 246.7 kB / 390.8 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002492/0.2565, allocations: 2.222 MB / 393 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2565, allocations: 384 / 393 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.2581, allocations: 1.743 MB / 394.7 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.2596, allocations: 0.6565 MB / 395.4 MB, free: 3.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007553/0.2671, allocations: 6.471 MB / 401.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/0.2679, allocations: 1.034 MB / 402.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000942/0.2689, allocations: 0.5202 MB / 403.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.2693, allocations: 164.5 kB / 403.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2693, allocations: 0 / 403.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of Templates: time 0.1492/0.4185, allocations: 41.52 MB / 445.1 MB, free: 114.1 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 4.750707237049937]