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.001393/0.001393, allocations: 85.75 kB / 21.43 MB, free: 296 kB / 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.001528/0.001528, allocations: 164.3 kB / 24.7 MB, free: 3.547 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.349/1.349, allocations: 158.6 MB / 186.5 MB, free: 6.402 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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 299 MB, free: 8.695 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.439e-05, allocations: 2.281 kB / 299 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.0157/0.01573, allocations: 11.25 MB / 310.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.02608, allocations: 4.04 MB / 314.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.02937, allocations: 87.38 kB / 314.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004223/0.03359, allocations: 0.9664 MB / 315.3 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005683/0.03927, allocations: 1.277 MB / 316.6 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.0418, allocations: 0.5343 MB / 317.1 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008062/0.04987, allocations: 4.849 MB / 322 MB, free: 1.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2042/0.254, allocations: 1.95 MB / 323.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009753/0.2638, allocations: 3.147 MB / 327.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006636/0.2704, allocations: 2.286 MB / 329.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00261/0.273, allocations: 0.5525 MB / 329.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004447/0.2775, allocations: 0.6426 MB / 330.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004404/0.2819, allocations: 1.582 MB / 332.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00768/0.2895, allocations: 1.723 MB / 333.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.3048, allocations: 7.54 MB / 341.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.3048, allocations: 0 / 341.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3048, allocations: 1.281 kB / 341.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003449/0.3051, allocations: 0 / 341.4 MB, free: 12.81 MB / 302.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.01914/0.3243, allocations: 4.684 MB / 346.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.3243, allocations: 13.39 kB / 346.1 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004175/0.3285, allocations: 0.5208 MB / 346.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008314/0.3368, allocations: 2.356 MB / 349 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004733/0.3373, allocations: 265 kB / 349.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/0.339, allocations: 353.7 kB / 349.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.3553, allocations: 5.276 MB / 354.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002677/0.3556, allocations: 18.98 kB / 354.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00152/0.3571, allocations: 140.5 kB / 355 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/0.3573, allocations: 183.6 kB / 355.2 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.3683, allocations: 4.282 MB / 359.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03535/0.4037, allocations: 12.86 MB / 372.3 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005881/0.4095, allocations: 2.714 MB / 375.1 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004249/0.4138, allocations: 1.875 MB / 376.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.4141, allocations: 49.97 kB / 377 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.736e-05/0.4142, allocations: 56.56 kB / 377 MB, free: 14.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 4.98e-06/0.4142, allocations: 0 / 377 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02893/0.4431, allocations: 9.652 MB / 386.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.4432, allocations: 73.41 kB / 386.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005288/0.4485, allocations: 2.19 MB / 389 MB, free: 2.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004389/0.4489, allocations: 65.7 kB / 389 MB, free: 2.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.4506, allocations: 1.653 MB / 390.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001285/0.4519, allocations: 0.7622 MB / 391.4 MB, free: 92 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/0.4534, allocations: 416.6 kB / 391.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4536, allocations: 301.1 kB / 392.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002704/0.4563, allocations: 1.308 MB / 393.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/0.4594, allocations: 1.78 MB / 395.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006047/0.4655, allocations: 3.215 MB / 398.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.4655, allocations: 4 kB / 398.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009075/0.4746, allocations: 4.045 MB / 402.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.4746, allocations: 8 kB / 402.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.833e-05/0.4747, allocations: 20 kB / 402.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003396/0.4781, allocations: 0.8797 MB / 403.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/0.4808, allocations: 0.5328 MB / 403.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.4938, allocations: 8.984 MB / 412.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.4963, allocations: 119.9 kB / 413 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004578/0.4967, allocations: 84 kB / 413.1 MB, free: 9.926 MB / 366.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.003127/0.4999, allocations: 1.214 MB / 414.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009755/0.5008, allocations: 254.4 kB / 414.6 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008506/0.5094, allocations: 3.683 MB / 418.3 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.5094, allocations: 20 kB / 418.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.979e-05/0.5094, allocations: 12 kB / 418.3 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.568e-05/0.5094, allocations: 11.95 kB / 418.3 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/0.5273, allocations: 7.11 MB / 425.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.5273, allocations: 4.344 kB / 425.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/0.5292, allocations: 386.1 kB / 425.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003501/0.5327, allocations: 0.9218 MB / 426.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/0.5329, allocations: 59.98 kB / 426.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/0.5469, allocations: 10.46 MB / 437.2 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.5469, allocations: 3.984 kB / 437.2 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/0.5582, allocations: 5.476 MB / 442.7 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/0.5602, allocations: 0.5373 MB / 443.2 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007623/0.561, allocations: 51.98 kB / 443.3 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.5628, allocations: 115.9 kB / 443.4 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000518/0.5633, allocations: 192.5 kB / 443.6 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/0.5634, allocations: 59.98 kB / 443.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004313/0.5678, allocations: 1.485 MB / 445.1 MB, free: 9.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5678, allocations: 0 / 445.1 MB, free: 9.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0051/0.5729, allocations: 0.789 MB / 445.9 MB, free: 8.691 MB / 398.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.001002/0.5739, allocations: 249.2 kB / 446.2 MB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009667/0.5835, allocations: 3.615 MB / 449.8 MB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/0.5835, allocations: 4.188 kB / 449.8 MB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006429/0.59, allocations: 2.316 MB / 452.1 MB, free: 2.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005826/0.5958, allocations: 0.6287 MB / 452.7 MB, free: 1.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/0.6179, allocations: 7.596 MB / 460.3 MB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003439/0.6213, allocations: 2.23 MB / 462.6 MB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002059/0.6234, allocations: 0.6412 MB / 463.2 MB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006302/0.624, allocations: 168.5 kB / 463.4 MB, free: 7.176 MB / 414.1 MB Notification: Performance of SimCode: time 1.163e-06/0.624, allocations: 0 / 463.4 MB, free: 7.176 MB / 414.1 MB Notification: Performance of Templates: time 0.2174/0.8414, allocations: 40.11 MB / 0.4917 GB, free: 139.4 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 -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/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","/var/lib/jenkins/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.598144989460707]