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.001383/0.001383, allocations: 120.5 kB / 21.94 MB, free: 8 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.00148/0.00148, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.447/1.447, allocations: 207.6 MB / 236 MB, free: 9.988 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.002235/0.002235, allocations: 51.92 kB / 348.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2664, allocations: 49.16 MB / 397.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.0122/0.2786, allocations: 12.94 MB / 410.6 MB, free: 304 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009486/0.2881, allocations: 4.272 MB / 414.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.291, allocations: 86.34 kB / 414.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003205/0.2942, allocations: 1.03 MB / 416 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.2987, allocations: 1.238 MB / 417.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.3003, allocations: 0.5347 MB / 417.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007154/0.3075, allocations: 4.685 MB / 422.4 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004394/0.3119, allocations: 2.021 MB / 424.4 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005362/0.3173, allocations: 2.16 MB / 426.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006097/0.3233, allocations: 2.633 MB / 429.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002154/0.3255, allocations: 0.5508 MB / 429.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.3283, allocations: 0.6483 MB / 430.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.33, allocations: 1.543 MB / 432 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004501/0.3345, allocations: 2.481 MB / 434.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009432/0.344, allocations: 7.439 MB / 441.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.344, allocations: 0 / 441.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.344, allocations: 7.938 kB / 441.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000238/0.3442, allocations: 0 / 441.9 MB, free: 6.91 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.0112/0.3554, allocations: 4.717 MB / 446.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3555, allocations: 15.98 kB / 446.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.3568, allocations: 0.5136 MB / 447.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004928/0.3618, allocations: 2.365 MB / 449.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/0.362, allocations: 267 kB / 449.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005728/0.3626, allocations: 359.8 kB / 450.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009638/0.3722, allocations: 5.013 MB / 455.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.803e-05/0.3723, allocations: 15.88 kB / 455.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003433/0.3726, allocations: 148 kB / 455.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.3728, allocations: 179.1 kB / 455.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008747/0.3816, allocations: 4.291 MB / 459.8 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02942/0.411, allocations: 14.6 MB / 474.4 MB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004287/0.4153, allocations: 2.7 MB / 477.1 MB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.4186, allocations: 1.881 MB / 479 MB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.4189, allocations: 49.97 kB / 479 MB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.4189, allocations: 60.55 kB / 479.1 MB, free: 1.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.167e-06/0.4189, allocations: 0 / 479.1 MB, free: 1.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02167/0.4406, allocations: 9.683 MB / 488.7 MB, free: 7.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.4407, allocations: 73.41 kB / 488.8 MB, free: 7.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004286/0.445, allocations: 2.506 MB / 491.3 MB, free: 4.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003748/0.4453, allocations: 61.7 kB / 491.4 MB, free: 4.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.4467, allocations: 1.662 MB / 493 MB, free: 3.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009061/0.4476, allocations: 0.7668 MB / 493.8 MB, free: 2.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000742/0.4484, allocations: 420.5 kB / 494.2 MB, free: 2.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4485, allocations: 305.1 kB / 494.5 MB, free: 1.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.4507, allocations: 1.293 MB / 495.8 MB, free: 436 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/0.4533, allocations: 1.782 MB / 497.6 MB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004857/0.4582, allocations: 3.215 MB / 0.4891 GB, free: 11.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.4582, allocations: 7.938 kB / 0.4891 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007553/0.4658, allocations: 4.069 MB / 0.4931 GB, free: 6.961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.4658, allocations: 12 kB / 0.4931 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.56e-05/0.4658, allocations: 12 kB / 0.4931 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002926/0.4688, allocations: 0.8827 MB / 0.4939 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.471, allocations: 0.5266 MB / 0.4945 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.4821, allocations: 9.173 MB / 0.5034 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.4844, allocations: 119.8 kB / 0.5035 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.4846, allocations: 87.98 kB / 0.5036 GB, free: 11.79 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.002286/0.4869, allocations: 1.215 MB / 0.5048 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005552/0.4874, allocations: 290.2 kB / 0.5051 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006374/0.4938, allocations: 3.691 MB / 0.5087 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.4938, allocations: 20 kB / 0.5087 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.4938, allocations: 8 kB / 0.5087 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.4939, allocations: 15.89 kB / 0.5087 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.508, allocations: 7.992 MB / 0.5165 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.508, allocations: 7.984 kB / 0.5165 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.5096, allocations: 391.7 kB / 0.5169 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/0.5127, allocations: 0.9213 MB / 0.5178 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.5128, allocations: 51.97 kB / 0.5179 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/0.5252, allocations: 10.66 MB / 0.5283 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.5253, allocations: 7.938 kB / 0.5283 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009365/0.5346, allocations: 5.498 MB / 0.5336 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/0.5364, allocations: 0.5761 MB / 0.5342 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004386/0.5369, allocations: 52.08 kB / 0.5343 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.5383, allocations: 123.8 kB / 0.5344 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004746/0.5387, allocations: 185.7 kB / 0.5346 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.5389, allocations: 63.97 kB / 0.5346 GB, free: 11.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002861/0.5417, allocations: 1.738 MB / 0.5363 GB, free: 9.586 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5417, allocations: 0 / 0.5363 GB, free: 9.586 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002809/0.5445, allocations: 0.7968 MB / 0.5371 GB, free: 8.789 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.000654/0.5452, allocations: 234.6 kB / 0.5373 GB, free: 8.551 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006593/0.5518, allocations: 3.624 MB / 0.5409 GB, free: 4.883 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.5518, allocations: 0 / 0.5409 GB, free: 4.883 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004177/0.556, allocations: 2.315 MB / 0.5431 GB, free: 2.512 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/0.5598, allocations: 0.7887 MB / 0.5439 GB, free: 1.719 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.5743, allocations: 7.896 MB / 0.5516 GB, free: 9.762 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002787/0.5771, allocations: 2.723 MB / 0.5543 GB, free: 7.012 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.5782, allocations: 191.4 kB / 0.5544 GB, free: 6.824 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5782, allocations: 0 / 0.5544 GB, free: 6.824 MB / 478.1 MB Notification: Performance of Templates: time 0.3078/0.886, allocations: 142.3 MB / 0.6934 GB, free: 25.26 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: 17.49415818694979]