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.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.001283/0.001283, allocations: 106 kB / 21.18 MB, free: 0.6992 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.00137/0.00137, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.477/1.477, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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.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.001766/0.001766, allocations: 52.3 kB / 347.7 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3539, allocations: 49.16 MB / 396.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01364/0.3675, allocations: 12.93 MB / 409.8 MB, free: 324 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.3794, allocations: 4.28 MB / 414.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004201/0.3836, allocations: 87.31 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004051/0.3876, allocations: 1.028 MB / 415.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00619/0.3938, allocations: 1.235 MB / 416.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.3961, allocations: 0.5384 MB / 416.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008197/0.4043, allocations: 4.675 MB / 421.6 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003946/0.4082, allocations: 2.025 MB / 423.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005238/0.4135, allocations: 2.159 MB / 425.8 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005899/0.4194, allocations: 2.625 MB / 428.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.4207, allocations: 0.5508 MB / 429 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.423, allocations: 0.6561 MB / 429.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001667/0.4246, allocations: 1.535 MB / 431.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004314/0.4289, allocations: 2.478 MB / 433.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.4398, allocations: 7.447 MB / 441.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4398, allocations: 0 / 441.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4398, allocations: 0 / 441.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002256/0.4401, allocations: 0 / 441.1 MB, free: 7.016 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.01263/0.4527, allocations: 4.728 MB / 445.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.4527, allocations: 11.98 kB / 445.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.4544, allocations: 0.5214 MB / 446.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005226/0.4596, allocations: 2.361 MB / 448.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/0.4598, allocations: 270.9 kB / 449 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000748/0.4606, allocations: 352 kB / 449.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.4717, allocations: 5.021 MB / 454.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.162e-05/0.4718, allocations: 15.89 kB / 454.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003481/0.4721, allocations: 140 kB / 454.5 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002334/0.4724, allocations: 187 kB / 454.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009364/0.4817, allocations: 4.291 MB / 459 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03507/0.5168, allocations: 14.6 MB / 473.6 MB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004708/0.5215, allocations: 2.692 MB / 476.3 MB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004014/0.5255, allocations: 1.881 MB / 478.1 MB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.5258, allocations: 61.94 kB / 478.2 MB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.982e-05/0.5259, allocations: 52.56 kB / 478.3 MB, free: 1.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.957e-06/0.5259, allocations: 0 / 478.3 MB, free: 1.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02252/0.5484, allocations: 9.676 MB / 487.9 MB, free: 7.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.5485, allocations: 73.41 kB / 488 MB, free: 7.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004331/0.5528, allocations: 2.51 MB / 490.5 MB, free: 5.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002624/0.5531, allocations: 65.7 kB / 490.6 MB, free: 4.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.5545, allocations: 1.65 MB / 492.2 MB, free: 3.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007391/0.5552, allocations: 0.7785 MB / 493 MB, free: 2.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006966/0.5559, allocations: 416.4 kB / 493.4 MB, free: 2.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5561, allocations: 305.1 kB / 493.7 MB, free: 1.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/0.5583, allocations: 1.301 MB / 495 MB, free: 0.5156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.561, allocations: 1.782 MB / 496.8 MB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004739/0.5657, allocations: 3.212 MB / 0.4883 GB, free: 11.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.5657, allocations: 7.938 kB / 0.4883 GB, free: 11.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007151/0.5729, allocations: 4.069 MB / 0.4923 GB, free: 7.055 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.5729, allocations: 8 kB / 0.4923 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/0.5729, allocations: 16 kB / 0.4923 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/0.5758, allocations: 0.8828 MB / 0.4932 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.5782, allocations: 0.5266 MB / 0.4937 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.5897, allocations: 9.169 MB / 0.5026 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.5921, allocations: 127.8 kB / 0.5027 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.5922, allocations: 80 kB / 0.5028 GB, free: 11.89 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.002383/0.5946, allocations: 1.215 MB / 0.504 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005813/0.5952, allocations: 290.2 kB / 0.5043 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006286/0.6015, allocations: 3.699 MB / 0.5079 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.6015, allocations: 24 kB / 0.5079 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.6015, allocations: 4 kB / 0.5079 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.6015, allocations: 15.91 kB / 0.5079 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.6157, allocations: 7.992 MB / 0.5157 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.6157, allocations: 4.344 kB / 0.5158 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/0.6173, allocations: 387.5 kB / 0.5161 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003063/0.6204, allocations: 0.9292 MB / 0.517 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/0.6206, allocations: 55.97 kB / 0.5171 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01255/0.6331, allocations: 10.65 MB / 0.5275 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.6331, allocations: 3.938 kB / 0.5275 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009365/0.6425, allocations: 5.506 MB / 0.5329 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.6441, allocations: 0.58 MB / 0.5334 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/0.6445, allocations: 51.98 kB / 0.5335 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.6457, allocations: 123.8 kB / 0.5336 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.6462, allocations: 181.6 kB / 0.5338 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.6463, allocations: 59.98 kB / 0.5338 GB, free: 11.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002613/0.6489, allocations: 1.727 MB / 0.5355 GB, free: 9.691 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6489, allocations: 0 / 0.5355 GB, free: 9.691 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002259/0.6512, allocations: 0.8046 MB / 0.5363 GB, free: 8.887 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.0006244/0.6518, allocations: 238.5 kB / 0.5365 GB, free: 8.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006277/0.6581, allocations: 3.628 MB / 0.5401 GB, free: 4.973 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6581, allocations: 0 / 0.5401 GB, free: 4.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003949/0.662, allocations: 2.315 MB / 0.5423 GB, free: 2.602 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/0.6656, allocations: 0.7887 MB / 0.5431 GB, free: 1.809 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.6795, allocations: 7.892 MB / 0.5508 GB, free: 9.859 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002937/0.6824, allocations: 2.765 MB / 0.5535 GB, free: 7.066 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002256/0.6847, allocations: 0.6905 MB / 0.5542 GB, free: 6.371 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/0.6852, allocations: 179.4 kB / 0.5544 GB, free: 6.195 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6852, allocations: 0 / 0.5544 GB, free: 6.195 MB / 478.1 MB Notification: Performance of Templates: time 0.3567/1.042, allocations: 46.6 MB / 0.5999 GB, free: 122.1 MB / 478.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.954995374195278]