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.001978/0.001978, allocations: 85.91 kB / 22 MB, free: 5.184 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.002473/0.002473, allocations: 161.4 kB / 25.25 MB, free: 3.027 MB / 14.72 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 1.325/1.325, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.1 MB " [Timeout remaining time 178] 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.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..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.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003019/0.003019, allocations: 51.92 kB / 299.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2545, allocations: 49.15 MB / 348.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01435/0.2688, allocations: 11.23 MB / 359.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007243/0.2761, allocations: 4.051 MB / 363.8 MB, free: 164 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009385/0.277, allocations: 91.31 kB / 363.9 MB, free: 72 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.2791, allocations: 0.9614 MB / 364.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.2817, allocations: 1.239 MB / 366.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.2828, allocations: 0.5228 MB / 366.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005126/0.2879, allocations: 4.672 MB / 371.3 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002734/0.2906, allocations: 1.955 MB / 373.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/0.294, allocations: 2.176 MB / 375.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004261/0.2982, allocations: 2.534 MB / 378 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.2994, allocations: 0.5547 MB / 378.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.3007, allocations: 0.6404 MB / 379.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.3024, allocations: 1.535 MB / 380.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002875/0.3053, allocations: 2.019 MB / 382.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008246/0.3136, allocations: 7.486 MB / 390.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3136, allocations: 0 / 390.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3136, allocations: 0 / 390.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001347/0.3137, allocations: 0 / 390.2 MB, free: 5.625 MB / 350.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.009506/0.3232, allocations: 4.72 MB / 394.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3233, allocations: 19.97 kB / 395 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.3246, allocations: 0.5137 MB / 395.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.329, allocations: 2.353 MB / 397.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/0.3292, allocations: 267 kB / 398.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005528/0.3297, allocations: 355.9 kB / 398.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008719/0.3385, allocations: 5.276 MB / 403.7 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.437e-05/0.3386, allocations: 11.94 kB / 403.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003584/0.3389, allocations: 148 kB / 403.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/0.3391, allocations: 175.1 kB / 404 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007774/0.3469, allocations: 4.283 MB / 408.3 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02335/0.3702, allocations: 12.89 MB / 421.2 MB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004329/0.3746, allocations: 2.694 MB / 423.9 MB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003379/0.3779, allocations: 1.874 MB / 425.8 MB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.3782, allocations: 53.97 kB / 425.8 MB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/0.3782, allocations: 60.5 kB / 425.9 MB, free: 1.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.087e-06/0.3782, allocations: 0 / 425.9 MB, free: 1.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02164/0.3999, allocations: 9.64 MB / 435.5 MB, free: 7.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.3999, allocations: 77.41 kB / 435.6 MB, free: 7.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003591/0.4035, allocations: 2.186 MB / 437.8 MB, free: 5.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002375/0.4038, allocations: 61.7 kB / 437.8 MB, free: 5.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.4052, allocations: 1.664 MB / 439.5 MB, free: 3.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008341/0.4061, allocations: 0.7669 MB / 440.3 MB, free: 2.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007201/0.4068, allocations: 420.4 kB / 440.7 MB, free: 2.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4069, allocations: 309.1 kB / 441 MB, free: 2.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/0.4091, allocations: 1.305 MB / 442.3 MB, free: 0.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/0.4117, allocations: 1.778 MB / 444.1 MB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00496/0.4166, allocations: 3.219 MB / 447.3 MB, free: 11.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.4167, allocations: 4 kB / 447.3 MB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007358/0.424, allocations: 4.041 MB / 451.3 MB, free: 7.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.424, allocations: 12 kB / 451.3 MB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.4241, allocations: 12 kB / 451.4 MB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.427, allocations: 0.8877 MB / 452.2 MB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.4292, allocations: 0.5265 MB / 452.8 MB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.4411, allocations: 8.988 MB / 461.8 MB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.4431, allocations: 111.9 kB / 461.9 MB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/0.4434, allocations: 92 kB / 462 MB, free: 12.54 MB / 430.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.002157/0.4456, allocations: 1.211 MB / 463.2 MB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/0.4462, allocations: 262.3 kB / 463.4 MB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007016/0.4532, allocations: 3.677 MB / 467.1 MB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.782e-05/0.4533, allocations: 20 kB / 467.1 MB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.4533, allocations: 8 kB / 467.1 MB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.4533, allocations: 11.95 kB / 467.1 MB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.4667, allocations: 7.113 MB / 474.3 MB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.4667, allocations: 8.062 kB / 474.3 MB, free: 92 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1689/0.6356, allocations: 376.9 kB / 474.6 MB, free: 107.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003446/0.639, allocations: 0.928 MB / 475.6 MB, free: 107.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002285/0.6392, allocations: 55.7 kB / 475.6 MB, free: 107.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009126/0.6484, allocations: 10.47 MB / 486.1 MB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.6484, allocations: 3.969 kB / 486.1 MB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006711/0.6551, allocations: 5.479 MB / 491.6 MB, free: 99.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.6564, allocations: 0.5359 MB / 492.1 MB, free: 99.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/0.6568, allocations: 54.2 kB / 492.2 MB, free: 99.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.658, allocations: 125.4 kB / 492.3 MB, free: 98.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/0.6584, allocations: 187 kB / 492.5 MB, free: 98.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.6585, allocations: 59.89 kB / 492.5 MB, free: 98.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001681/0.6602, allocations: 1.485 MB / 494 MB, free: 97.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6602, allocations: 0 / 494 MB, free: 97.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001925/0.6621, allocations: 0.7907 MB / 494.8 MB, free: 96.8 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 {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.0004623/0.6626, allocations: 237.8 kB / 495 MB, free: 96.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004528/0.6671, allocations: 3.626 MB / 498.7 MB, free: 93.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.6671, allocations: 0 / 498.7 MB, free: 93.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002867/0.67, allocations: 2.313 MB / 0.4892 GB, free: 91.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.6724, allocations: 0.626 MB / 0.4898 GB, free: 90.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009246/0.6816, allocations: 7.822 MB / 0.4975 GB, free: 82.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/0.6834, allocations: 2.23 MB / 0.4997 GB, free: 80.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001565/0.685, allocations: 0.649 MB / 0.5003 GB, free: 79.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.6855, allocations: 160.5 kB / 0.5004 GB, free: 79.67 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6855, allocations: 0 / 0.5004 GB, free: 79.67 MB / 430.1 MB Notification: Performance of Templates: time 0.0553/0.7408, allocations: 40.4 MB / 0.5399 GB, free: 39.24 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",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: 7.568080350058153]