Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.001131/0.001131, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.004698/0.004698, allocations: 169.1 kB / 25.33 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9448/0.9448, allocations: 158.6 MB / 187.2 MB, free: 2.492 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 251.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.503e-05, allocations: 2.312 kB / 251.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.0108/0.01083, allocations: 12.7 MB / 263.8 MB, free: 6.789 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007585/0.01841, allocations: 4.215 MB / 268 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/0.02111, allocations: 87.38 kB / 268.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.02393, allocations: 0.9624 MB / 269 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004126/0.02806, allocations: 1.288 MB / 270.3 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.02933, allocations: 0.5304 MB / 270.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004555/0.03388, allocations: 4.842 MB / 275.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.03639, allocations: 1.971 MB / 277.7 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004771/0.04117, allocations: 3.348 MB / 281 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003279/0.04444, allocations: 2.436 MB / 283.5 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.04582, allocations: 0.543 MB / 284 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.04694, allocations: 0.6326 MB / 284.6 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009411/0.04788, allocations: 1.57 MB / 286.2 MB, free: 252 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00234/0.05022, allocations: 1.719 MB / 287.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004664/0.05489, allocations: 4.019 MB / 291.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.0549, allocations: 0 / 291.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0549, allocations: 0 / 291.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002245/0.05512, allocations: 0 / 291.9 MB, free: 10.49 MB / 282.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.007871/0.06299, allocations: 4.908 MB / 296.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.06304, allocations: 15.98 kB / 296.9 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.06427, allocations: 0.8104 MB / 297.7 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/0.06771, allocations: 2.15 MB / 299.8 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.06787, allocations: 267.4 kB / 300.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.06823, allocations: 360.3 kB / 300.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.124/0.1922, allocations: 3.036 MB / 303.5 MB, free: 50 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.939e-05/0.1923, allocations: 5.328 kB / 303.5 MB, free: 50 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.1926, allocations: 147.8 kB / 303.6 MB, free: 50 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/0.1927, allocations: 184.6 kB / 303.8 MB, free: 50 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.196, allocations: 1.323 MB / 305.1 MB, free: 49.95 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/0.2111, allocations: 11.78 MB / 316.9 MB, free: 44.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.2127, allocations: 1.533 MB / 318.4 MB, free: 43.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.2139, allocations: 0.95 MB / 319.4 MB, free: 43.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.2141, allocations: 66.91 kB / 319.5 MB, free: 43.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.2141, allocations: 62.23 kB / 319.5 MB, free: 43.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 3.477e-06/0.2141, allocations: 3.5 kB / 319.5 MB, free: 43.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.007953/0.2221, allocations: 5.111 MB / 324.6 MB, free: 40.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.2221, allocations: 73.41 kB / 324.7 MB, free: 40.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.2237, allocations: 1.864 MB / 326.6 MB, free: 38.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.2238, allocations: 65.7 kB / 326.6 MB, free: 38.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006556/0.2245, allocations: 1.767 MB / 328.4 MB, free: 37.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.2249, allocations: 0.7902 MB / 329.2 MB, free: 36.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.2253, allocations: 438.5 kB / 329.6 MB, free: 35.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.2253, allocations: 476.8 kB / 330.1 MB, free: 35.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.2259, allocations: 380.4 kB / 330.5 MB, free: 35.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/0.2266, allocations: 1.05 MB / 331.5 MB, free: 33.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.228, allocations: 1.615 MB / 333.1 MB, free: 31.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.228, allocations: 4 kB / 333.1 MB, free: 31.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002593/0.2306, allocations: 2.107 MB / 335.2 MB, free: 29.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.2307, allocations: 12 kB / 335.2 MB, free: 29.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.2307, allocations: 12 kB / 335.3 MB, free: 29.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.232, allocations: 0.6052 MB / 335.9 MB, free: 29.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.2331, allocations: 0.5148 MB / 336.4 MB, free: 28.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/0.2374, allocations: 7.8 MB / 344.2 MB, free: 20.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.2389, allocations: 99.92 kB / 344.3 MB, free: 20.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.239, allocations: 91.98 kB / 344.4 MB, free: 20.34 MB / 282.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.0008942/0.2399, allocations: 292 kB / 344.6 MB, free: 20.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.2403, allocations: 346.2 kB / 345 MB, free: 19.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.2427, allocations: 1.823 MB / 346.8 MB, free: 17.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.2427, allocations: 28 kB / 346.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.2428, allocations: 4 kB / 346.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.2428, allocations: 11.95 kB / 346.9 MB, free: 17.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006504/0.2493, allocations: 4.995 MB / 351.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.2493, allocations: 0 / 351.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008294/0.2501, allocations: 375.5 kB / 352.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.2516, allocations: 0.6617 MB / 352.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.2518, allocations: 51.98 kB / 352.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00444/0.2562, allocations: 9.497 MB / 362.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2562, allocations: 4 kB / 362.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/0.2598, allocations: 2.543 MB / 365 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.2609, allocations: 498.1 kB / 365.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/0.2612, allocations: 48 kB / 365.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/0.2619, allocations: 111.8 kB / 365.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003736/0.2622, allocations: 185.6 kB / 365.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.2624, allocations: 63.98 kB / 365.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001387/0.2637, allocations: 1.067 MB / 366.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2637, allocations: 0 / 366.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002475/0.2662, allocations: 0.7812 MB / 367.7 MB, free: 12.29 MB / 298.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 {(2,12,100.0%), (1,1,100.0%), (3,25,77.8%), (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.0006677/0.2669, allocations: 245.6 kB / 367.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003179/0.2701, allocations: 2.225 MB / 370.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.2701, allocations: 0 / 370.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.272, allocations: 1.74 MB / 371.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.2744, allocations: 0.6435 MB / 372.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009891/0.2843, allocations: 6.448 MB / 379 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/0.2852, allocations: 1.037 MB / 380 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001315/0.2865, allocations: 0.5006 MB / 380.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.2869, allocations: 164.5 kB / 380.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of SimCode: time 2.264e-06/0.2869, allocations: 0 / 380.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Templates: time 0.05826/0.3451, allocations: 41.41 MB / 422.1 MB, free: 5.66 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_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.973581642843783]