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.005311/0.005311, allocations: 96.41 kB / 21.93 MB, free: 5.195 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.001551/0.001551, allocations: 210.8 kB / 25.22 MB, free: 3.141 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.416/1.416, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.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.001821/0.001821, allocations: 64.28 kB / 348.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2479, allocations: 49.15 MB / 397.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01226/0.2601, allocations: 11.25 MB / 408.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008932/0.2691, allocations: 4.036 MB / 412.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/0.2721, allocations: 87.19 kB / 413 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003586/0.2756, allocations: 0.9626 MB / 414 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004884/0.2805, allocations: 1.249 MB / 415.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.2824, allocations: 0.5317 MB / 415.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006661/0.289, allocations: 4.664 MB / 420.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003326/0.2924, allocations: 1.952 MB / 422.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/0.2974, allocations: 2.177 MB / 424.5 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005385/0.3028, allocations: 2.537 MB / 427.1 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.3043, allocations: 0.5508 MB / 427.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.3067, allocations: 0.6483 MB / 428.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002095/0.3088, allocations: 1.531 MB / 429.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004236/0.3131, allocations: 2.007 MB / 431.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009617/0.3227, allocations: 7.489 MB / 439.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3227, allocations: 0 / 439.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3227, allocations: 0 / 439.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002225/0.3229, allocations: 0 / 439.3 MB, free: 9.379 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.01271/0.3356, allocations: 4.732 MB / 444 MB, free: 4.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3357, allocations: 11.98 kB / 444 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.3374, allocations: 0.5175 MB / 444.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005448/0.3428, allocations: 2.353 MB / 446.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.3431, allocations: 274.9 kB / 447.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007746/0.3438, allocations: 355.9 kB / 447.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.3546, allocations: 5.276 MB / 452.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-05/0.3547, allocations: 7.953 kB / 452.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/0.355, allocations: 143.9 kB / 453 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/0.3553, allocations: 187 kB / 453.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008773/0.364, allocations: 4.283 MB / 457.4 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02617/0.3902, allocations: 12.87 MB / 470.3 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004484/0.3947, allocations: 2.697 MB / 473 MB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003456/0.3982, allocations: 1.874 MB / 474.9 MB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.3984, allocations: 53.95 kB / 474.9 MB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/0.3985, allocations: 64.5 kB / 475 MB, free: 5.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.528e-06/0.3985, allocations: 0 / 475 MB, free: 5.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02143/0.4199, allocations: 9.641 MB / 484.6 MB, free: 11.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.42, allocations: 77.41 kB / 484.7 MB, free: 11.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.4237, allocations: 2.186 MB / 486.9 MB, free: 9.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002952/0.424, allocations: 61.7 kB / 486.9 MB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.4253, allocations: 1.668 MB / 488.6 MB, free: 7.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008536/0.4262, allocations: 0.763 MB / 489.4 MB, free: 6.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007515/0.4269, allocations: 420.4 kB / 489.8 MB, free: 6.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4271, allocations: 301.1 kB / 490.1 MB, free: 5.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002218/0.4293, allocations: 1.308 MB / 491.4 MB, free: 4.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.432, allocations: 1.786 MB / 493.2 MB, free: 2.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005032/0.437, allocations: 3.211 MB / 496.4 MB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.437, allocations: 4 kB / 496.4 MB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007569/0.4446, allocations: 4.045 MB / 0.4887 GB, free: 11.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.4446, allocations: 8 kB / 0.4887 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/0.4446, allocations: 16 kB / 0.4887 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/0.4475, allocations: 0.8831 MB / 0.4896 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.4497, allocations: 0.5305 MB / 0.4901 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.4611, allocations: 8.987 MB / 0.4989 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/0.4632, allocations: 115.9 kB / 0.499 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/0.4635, allocations: 87.98 kB / 0.4991 GB, free: 292 kB / 414.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.0025/0.466, allocations: 1.215 MB / 0.5003 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006439/0.4666, allocations: 254.4 kB / 0.5005 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006721/0.4733, allocations: 3.685 MB / 0.5041 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.4734, allocations: 23.94 kB / 0.5041 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.4734, allocations: 8 kB / 0.5041 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.4734, allocations: 11.95 kB / 0.5041 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/0.4877, allocations: 7.101 MB / 0.5111 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.4878, allocations: 4 kB / 0.5111 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/0.4895, allocations: 391.8 kB / 0.5115 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003102/0.4926, allocations: 0.9217 MB / 0.5124 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/0.4928, allocations: 59.97 kB / 0.5124 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/0.5056, allocations: 10.47 MB / 0.5226 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.5056, allocations: 4 kB / 0.5226 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009713/0.5153, allocations: 5.473 MB / 0.528 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/0.5173, allocations: 0.5412 MB / 0.5285 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/0.5177, allocations: 55.92 kB / 0.5286 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.5191, allocations: 119.9 kB / 0.5287 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000435/0.5195, allocations: 181.7 kB / 0.5289 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.5197, allocations: 59.98 kB / 0.5289 GB, free: 1.086 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002473/0.5222, allocations: 1.497 MB / 0.5304 GB, free: 15.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5222, allocations: 0 / 0.5304 GB, free: 15.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002726/0.5249, allocations: 0.7929 MB / 0.5312 GB, free: 14.77 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.0006746/0.5256, allocations: 230.9 kB / 0.5314 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006572/0.5321, allocations: 3.624 MB / 0.5349 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.5321, allocations: 8.062 kB / 0.5349 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004198/0.5363, allocations: 2.31 MB / 0.5372 GB, free: 8.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/0.5395, allocations: 0.6277 MB / 0.5378 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.5536, allocations: 7.829 MB / 0.5454 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/0.5563, allocations: 2.176 MB / 0.5476 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009446/0.5572, allocations: 179.4 kB / 0.5477 GB, free: 13.58 MB / 478.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5572, allocations: 0 / 0.5477 GB, free: 13.58 MB / 478.1 MB Notification: Performance of Templates: time 0.3136/0.8708, allocations: 140.8 MB / 0.6853 GB, free: 31.07 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/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: 16.715679227840155]