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.001362/0.001362, allocations: 85.95 kB / 23 MB, free: 1.508 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.001301/0.001301, allocations: 180.1 kB / 26.4 MB, free: 8 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.9707/0.9707, allocations: 158.6 MB / 188.3 MB, free: 2.812 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.312e-06/1.312e-06, allocations: 0 / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.133e-05, allocations: 6.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01099/0.01101, allocations: 12.34 MB / 264.6 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007184/0.01819, allocations: 4.184 MB / 268.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.01979, allocations: 91.38 kB / 268.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.02165, allocations: 0.9624 MB / 269.8 MB, free: 5.578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.02443, allocations: 1.292 MB / 271.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.0257, allocations: 0.5266 MB / 271.7 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004276/0.02998, allocations: 4.842 MB / 276.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.03208, allocations: 1.967 MB / 278.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005019/0.0371, allocations: 3.358 MB / 281.8 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/0.03982, allocations: 2.451 MB / 284.3 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006548/0.04048, allocations: 0.543 MB / 284.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008796/0.04136, allocations: 0.6326 MB / 285.5 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.04275, allocations: 1.566 MB / 287 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.04429, allocations: 1.719 MB / 288.7 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.04779, allocations: 4.015 MB / 292.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.04779, allocations: 0 / 292.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.04779, allocations: 4 kB / 292.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.827e-05/0.04784, allocations: 0 / 292.8 MB, free: 14.54 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.005364/0.05321, allocations: 4.767 MB / 297.5 MB, free: 9.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.05325, allocations: 11.98 kB / 297.5 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.05439, allocations: 0.8104 MB / 298.4 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.05683, allocations: 2.009 MB / 300.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.05697, allocations: 271.4 kB / 300.6 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.05732, allocations: 360.3 kB / 301 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.06034, allocations: 2.81 MB / 303.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.435e-05/0.06041, allocations: 11.94 kB / 303.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/0.06063, allocations: 144 kB / 303.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.06077, allocations: 183.1 kB / 304.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.06232, allocations: 1.036 MB / 305.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.07509, allocations: 11.61 MB / 316.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.07656, allocations: 1.401 MB / 318.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.07758, allocations: 0.8456 MB / 319 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.07775, allocations: 69.95 kB / 319.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.07778, allocations: 59.33 kB / 319.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.256e-06/0.07779, allocations: 0 / 319.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.007093/0.08488, allocations: 4.095 MB / 323.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.08491, allocations: 73.41 kB / 323.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.08636, allocations: 1.812 MB / 325.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-05/0.08645, allocations: 65.7 kB / 325.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008656/0.08732, allocations: 1.778 MB / 327 MB, free: 11.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/0.08776, allocations: 0.7941 MB / 327.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/0.0882, allocations: 450.3 kB / 328.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.0883, allocations: 476.8 kB / 328.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.0887, allocations: 288.4 kB / 328.9 MB, free: 9.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.08971, allocations: 0.9611 MB / 329.9 MB, free: 8.465 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.091, allocations: 1.453 MB / 331.4 MB, free: 6.766 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.09101, allocations: 4 kB / 331.4 MB, free: 6.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002486/0.09349, allocations: 1.904 MB / 333.3 MB, free: 4.828 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.09352, allocations: 12 kB / 333.3 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.09353, allocations: 12 kB / 333.3 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.09493, allocations: 0.5885 MB / 333.9 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.09601, allocations: 499.2 kB / 334.4 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.1018, allocations: 7.555 MB / 341.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008328/0.1026, allocations: 67.98 kB / 342 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.1027, allocations: 71.98 kB / 342.1 MB, free: 11.68 MB / 330.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.0008153/0.1035, allocations: 296 kB / 342.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/0.1039, allocations: 354.1 kB / 342.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.1064, allocations: 1.645 MB / 344.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.1065, allocations: 24 kB / 344.4 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.1065, allocations: 11.98 kB / 344.4 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.1065, allocations: 7.969 kB / 344.4 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005639/0.1121, allocations: 4.094 MB / 348.5 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.1121, allocations: 4 kB / 348.5 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/0.113, allocations: 355.5 kB / 348.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.1144, allocations: 0.6343 MB / 349.5 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.1145, allocations: 59.91 kB / 349.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1493/0.2638, allocations: 9.222 MB / 358.7 MB, free: 86.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2638, allocations: 3.312 kB / 358.7 MB, free: 86.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.267, allocations: 2.295 MB / 361 MB, free: 85.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007054/0.2677, allocations: 450.1 kB / 361.5 MB, free: 85.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.2679, allocations: 50.16 kB / 361.5 MB, free: 85.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/0.2686, allocations: 81.61 kB / 361.6 MB, free: 85.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.2688, allocations: 180 kB / 361.8 MB, free: 85.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.2689, allocations: 44.3 kB / 361.8 MB, free: 85.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008357/0.2697, allocations: 0.963 MB / 362.8 MB, free: 85.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2697, allocations: 5.406 kB / 362.8 MB, free: 85.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001757/0.2715, allocations: 0.7837 MB / 363.6 MB, free: 85.61 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 {(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.0003935/0.2719, allocations: 239.6 kB / 363.8 MB, free: 85.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.2739, allocations: 2.025 MB / 365.8 MB, free: 84.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2739, allocations: 3.531 kB / 365.8 MB, free: 84.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.2751, allocations: 1.626 MB / 367.5 MB, free: 84.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.2765, allocations: 0.6514 MB / 368.1 MB, free: 84.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00661/0.2831, allocations: 6.396 MB / 374.5 MB, free: 80.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000669/0.2838, allocations: 1.025 MB / 375.5 MB, free: 79.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000712/0.2845, allocations: 307.1 kB / 375.8 MB, free: 79.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.2855, allocations: 0.6991 MB / 376.5 MB, free: 78.97 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2855, allocations: 0 / 376.5 MB, free: 78.97 MB / 330.7 MB Notification: Performance of Templates: time 0.07625/0.3618, allocations: 43.34 MB / 419.9 MB, free: 37.22 MB / 330.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: 5.0543920150958]