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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002188/0.002188, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002867/0.002867, allocations: 194.4 kB / 22.93 MB, free: 5.484 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.924/1.924, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 52.39 kB / 345.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3985, allocations: 49.12 MB / 394.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01669/0.4152, allocations: 12.91 MB / 407.4 MB, free: 260 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.4286, allocations: 4.279 MB / 411.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004741/0.4334, allocations: 66.91 kB / 411.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004897/0.4382, allocations: 1.017 MB / 412.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009014/0.4473, allocations: 1.237 MB / 414 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.4501, allocations: 0.527 MB / 414.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.4605, allocations: 4.679 MB / 419.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004894/0.4654, allocations: 2.023 MB / 421.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008863/0.4742, allocations: 2.13 MB / 423.4 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008828/0.4831, allocations: 2.625 MB / 426 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003161/0.4862, allocations: 0.555 MB / 426.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004605/0.4908, allocations: 0.6443 MB / 427.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004223/0.4951, allocations: 1.531 MB / 428.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008535/0.5036, allocations: 2.489 MB / 431.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01502/0.5186, allocations: 7.437 MB / 438.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.5186, allocations: 0 / 438.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.5186, allocations: 0 / 438.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003838/0.519, allocations: 0 / 438.7 MB, free: 7.547 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.01755/0.5366, allocations: 4.796 MB / 443.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.5366, allocations: 8.031 kB / 443.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.5394, allocations: 0.5253 MB / 444 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007583/0.547, allocations: 2.417 MB / 446.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/0.5474, allocations: 266.8 kB / 446.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/0.5493, allocations: 359.9 kB / 447 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/0.5665, allocations: 5.017 MB / 452.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.5667, allocations: 19.88 kB / 452.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00082/0.5675, allocations: 144 kB / 452.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002353/0.5678, allocations: 179.1 kB / 452.4 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.5808, allocations: 4.291 MB / 456.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04062/0.6214, allocations: 14.77 MB / 471.5 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007797/0.6292, allocations: 4.055 MB / 475.5 MB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00463/0.6339, allocations: 1.881 MB / 477.4 MB, free: 24 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005049/0.6344, allocations: 135.1 kB / 477.5 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.695e-05/0.6344, allocations: 52.56 kB / 477.6 MB, free: 15.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 5.631e-06/0.6345, allocations: 0 / 477.6 MB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02765/0.6621, allocations: 10.06 MB / 487.6 MB, free: 5.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.6622, allocations: 73.41 kB / 487.7 MB, free: 5.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005747/0.668, allocations: 2.506 MB / 490.2 MB, free: 3.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006012/0.6686, allocations: 61.7 kB / 490.3 MB, free: 2.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001935/0.6705, allocations: 1.654 MB / 491.9 MB, free: 1.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001744/0.6722, allocations: 0.7669 MB / 492.7 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.6733, allocations: 424.4 kB / 493.1 MB, free: 112 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.6735, allocations: 301.1 kB / 493.4 MB, free: 15.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/0.6762, allocations: 1.308 MB / 494.7 MB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/0.6798, allocations: 1.782 MB / 496.5 MB, free: 12.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006638/0.6865, allocations: 3.215 MB / 499.7 MB, free: 9.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.293e-05/0.6865, allocations: 7.938 kB / 499.7 MB, free: 9.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01063/0.6972, allocations: 4.065 MB / 0.492 GB, free: 5.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/0.6972, allocations: 8.469 kB / 0.492 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.024e-05/0.6973, allocations: 16 kB / 0.492 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003261/0.7005, allocations: 0.8787 MB / 0.4928 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.7031, allocations: 0.5227 MB / 0.4934 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.7164, allocations: 9.499 MB / 0.5026 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/0.7193, allocations: 115.9 kB / 0.5027 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004432/0.7198, allocations: 92 kB / 0.5028 GB, free: 9.469 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.003096/0.7229, allocations: 1.215 MB / 0.504 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009975/0.7238, allocations: 294.1 kB / 0.5043 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007855/0.7317, allocations: 3.703 MB / 0.5079 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/0.7317, allocations: 20 kB / 0.5079 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.7318, allocations: 8 kB / 0.5079 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.504e-05/0.7318, allocations: 11.91 kB / 0.508 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/0.7516, allocations: 8.006 MB / 0.5158 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/0.7516, allocations: 4 kB / 0.5158 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/0.7536, allocations: 387.8 kB / 0.5161 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003627/0.7572, allocations: 0.9291 MB / 0.5171 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005721/0.7578, allocations: 59.98 kB / 0.5171 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01563/0.7734, allocations: 11.06 MB / 0.5279 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.7734, allocations: 3.938 kB / 0.5279 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.7861, allocations: 5.51 MB / 0.5333 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002871/0.789, allocations: 0.6514 MB / 0.5339 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009485/0.7899, allocations: 48 kB / 0.534 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/0.7923, allocations: 123.8 kB / 0.5341 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007363/0.7931, allocations: 173.8 kB / 0.5343 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.7932, allocations: 63.98 kB / 0.5343 GB, free: 8.387 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004067/0.7973, allocations: 1.727 MB / 0.536 GB, free: 6.648 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7973, allocations: 0 / 0.536 GB, free: 6.648 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004863/0.8022, allocations: 0.8007 MB / 0.5368 GB, free: 5.848 MB / 462.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.001089/0.8033, allocations: 238.7 kB / 0.537 GB, free: 5.602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007817/0.8111, allocations: 3.763 MB / 0.5407 GB, free: 1.762 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/0.8111, allocations: 4.375 kB / 0.5407 GB, free: 1.758 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005775/0.8169, allocations: 2.394 MB / 0.543 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005861/0.8227, allocations: 0.7728 MB / 0.5438 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/0.8424, allocations: 7.917 MB / 0.5515 GB, free: 6.531 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005278/0.8477, allocations: 2.762 MB / 0.5542 GB, free: 3.742 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002992/0.8507, allocations: 0.6866 MB / 0.5549 GB, free: 3.051 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008793/0.8516, allocations: 175.4 kB / 0.5551 GB, free: 2.879 MB / 478.1 MB Notification: Performance of SimCode: time 2.004e-06/0.8516, allocations: 0 / 0.5551 GB, free: 2.879 MB / 478.1 MB Notification: Performance of Templates: time 0.3928/1.244, allocations: 45.79 MB / 0.5998 GB, free: 120.1 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.316712541505694]