Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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.001335/0.001335, allocations: 76.81 kB / 22.29 MB, free: 2.191 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.001079/0.001079, allocations: 158.9 kB / 25.69 MB, free: 8.77 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.9/0.9, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|smee.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|smee.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 251.6 MB, free: 7.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.208e-05, allocations: 6.25 kB / 251.6 MB, free: 7.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01004/0.01006, allocations: 12.43 MB / 264.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007497/0.01756, allocations: 4.331 MB / 268.4 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.01911, allocations: 87.38 kB / 268.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.02086, allocations: 0.9935 MB / 269.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.02326, allocations: 1.281 MB / 270.7 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007981/0.02406, allocations: 0.5382 MB / 271.3 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004076/0.02814, allocations: 4.845 MB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.03021, allocations: 2.014 MB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00474/0.03495, allocations: 3.345 MB / 281.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.03776, allocations: 2.432 MB / 283.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006747/0.03843, allocations: 0.543 MB / 284.5 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009298/0.03936, allocations: 0.6404 MB / 285.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008989/0.04026, allocations: 1.558 MB / 286.7 MB, free: 3.941 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.04209, allocations: 1.723 MB / 288.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003672/0.04577, allocations: 4.019 MB / 292.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.04577, allocations: 0 / 292.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.04577, allocations: 0 / 292.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.219e-05/0.04583, allocations: 0 / 292.4 MB, free: 14.18 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.004632/0.05047, allocations: 4.375 MB / 296.8 MB, free: 9.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.0505, allocations: 15.98 kB / 296.8 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.05174, allocations: 0.6643 MB / 297.5 MB, free: 9.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.05367, allocations: 1.479 MB / 298.9 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.0538, allocations: 263.4 kB / 299.2 MB, free: 7.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003242/0.05413, allocations: 368.3 kB / 299.6 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003081/0.05721, allocations: 2.849 MB / 302.4 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.704e-05/0.05726, allocations: 7.938 kB / 302.4 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/0.05747, allocations: 140 kB / 302.5 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.05759, allocations: 183.1 kB / 302.7 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.05912, allocations: 1.066 MB / 303.8 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.06966, allocations: 9.128 MB / 312.9 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.07106, allocations: 1.373 MB / 314.3 MB, free: 7.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009675/0.07202, allocations: 0.7688 MB / 315.1 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.07219, allocations: 61.98 kB / 315.1 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.07223, allocations: 56.56 kB / 315.2 MB, free: 6.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 5.39e-06/0.07224, allocations: 0 / 315.2 MB, free: 6.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.007425/0.07966, allocations: 4.004 MB / 319.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.0797, allocations: 81.33 kB / 319.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.08094, allocations: 1.502 MB / 320.8 MB, free: 1.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.08105, allocations: 65.7 kB / 320.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000597/0.08165, allocations: 1.355 MB / 322.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.08203, allocations: 0.7512 MB / 322.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004166/0.08245, allocations: 396.2 kB / 323.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.953e-05/0.08252, allocations: 301.1 kB / 323.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.0832, allocations: 291.8 kB / 323.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.08381, allocations: 0.7162 MB / 324.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.08501, allocations: 1.292 MB / 325.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.08502, allocations: 4 kB / 325.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002214/0.08723, allocations: 1.535 MB / 327.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.08726, allocations: 12 kB / 327.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.08728, allocations: 12 kB / 327.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.0886, allocations: 0.5631 MB / 328 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.08998, allocations: 0.6006 MB / 328.6 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004447/0.09442, allocations: 5.703 MB / 334.3 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.09551, allocations: 71.97 kB / 334.4 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.09563, allocations: 68 kB / 334.5 MB, free: 2.746 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.000767/0.09639, allocations: 252 kB / 334.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/0.09677, allocations: 239.7 kB / 335 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.09865, allocations: 1.401 MB / 336.4 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.09867, allocations: 24 kB / 336.4 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.09867, allocations: 4 kB / 336.4 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.09869, allocations: 11.95 kB / 336.4 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005023/0.1037, allocations: 3.434 MB / 339.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1037, allocations: 0 / 339.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.1049, allocations: 0.5216 MB / 340.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.1063, allocations: 0.615 MB / 341 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.1064, allocations: 55.97 kB / 341 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005185/0.1116, allocations: 6.883 MB / 347.9 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1116, allocations: 11.92 kB / 347.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.1144, allocations: 1.943 MB / 349.9 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007118/0.1152, allocations: 326.3 kB / 350.2 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.1154, allocations: 55.92 kB / 350.2 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.1159, allocations: 87.95 kB / 350.3 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/0.1162, allocations: 161.6 kB / 350.5 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.873e-05/0.1163, allocations: 43.98 kB / 350.5 MB, free: 2.078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007864/0.1171, allocations: 0.7657 MB / 351.3 MB, free: 1.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1171, allocations: 0 / 351.3 MB, free: 1.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001866/0.119, allocations: 0.7851 MB / 352.1 MB, free: 0.5039 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.0004419/0.1194, allocations: 230.3 kB / 352.3 MB, free: 288 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.09801/0.2174, allocations: 1.717 MB / 354 MB, free: 84.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.392e-05/0.2174, allocations: 26.81 kB / 354 MB, free: 84.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.2188, allocations: 1.328 MB / 355.4 MB, free: 84.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.2206, allocations: 0.6404 MB / 356 MB, free: 84.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006735/0.2273, allocations: 6.152 MB / 362.2 MB, free: 81.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/0.228, allocations: 0.8611 MB / 363 MB, free: 81.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000944/0.229, allocations: 305.2 kB / 363.3 MB, free: 81.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.23, allocations: 0.6099 MB / 363.9 MB, free: 81.44 MB / 330.7 MB Notification: Performance of SimCode: time 2.154e-06/0.2301, allocations: 3.656 kB / 363.9 MB, free: 81.44 MB / 330.7 MB Notification: Performance of Templates: time 0.04447/0.2745, allocations: 42.36 MB / 406.3 MB, free: 44.55 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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/Transformers/AIMC_Transformer/AIMC_Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.i_0_s in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat. Warning: Get data of variable aimc.i_0_s from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7212318470701575]