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.001557/0.001557, allocations: 92.31 kB / 21.73 MB, free: 2.805 MB / 18.57 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.001548/0.001548, allocations: 164.8 kB / 25.02 MB, free: 8.844 MB / 18.57 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.353/1.353, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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 5.821e-06/5.821e-06, allocations: 4 kB / 250.4 MB, free: 3.988 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/3.054e-05, allocations: 2.312 kB / 250.4 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01767/0.0177, allocations: 11.25 MB / 261.7 MB, free: 8.672 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009982/0.02768, allocations: 4.051 MB / 265.7 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.02976, allocations: 91.31 kB / 265.8 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003157/0.03292, allocations: 0.9663 MB / 266.8 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004769/0.03768, allocations: 1.288 MB / 268.1 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.03951, allocations: 0.5342 MB / 268.6 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007768/0.04728, allocations: 4.838 MB / 273.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004156/0.05144, allocations: 1.959 MB / 275.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008/0.05944, allocations: 3.173 MB / 278.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004783/0.06422, allocations: 2.28 MB / 280.8 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.0654, allocations: 0.5586 MB / 281.4 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.06719, allocations: 0.6442 MB / 282 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001934/0.06913, allocations: 1.578 MB / 283.6 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003234/0.07236, allocations: 1.723 MB / 285.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.08416, allocations: 7.537 MB / 292.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.08417, allocations: 7.938 kB / 292.9 MB, free: 9.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.08417, allocations: 0 / 292.9 MB, free: 9.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002118/0.08438, allocations: 0 / 292.9 MB, free: 9.301 MB / 282.7 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.01327/0.09765, allocations: 4.681 MB / 297.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.0977, allocations: 15.98 kB / 297.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.09981, allocations: 0.8104 MB / 298.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005396/0.1052, allocations: 2.431 MB / 300.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/0.1055, allocations: 263.4 kB / 301.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006484/0.1061, allocations: 356.3 kB / 301.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1233/0.2294, allocations: 5.274 MB / 306.7 MB, free: 52.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.913e-05/0.2295, allocations: 7.688 kB / 306.7 MB, free: 52.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/0.2299, allocations: 148.2 kB / 306.9 MB, free: 52.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002009/0.2301, allocations: 185.7 kB / 307 MB, free: 52.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00729/0.2374, allocations: 4.285 MB / 311.3 MB, free: 51.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/0.2557, allocations: 13.06 MB / 324.4 MB, free: 40.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/0.2588, allocations: 2.7 MB / 327.1 MB, free: 37.81 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002647/0.2614, allocations: 1.885 MB / 329 MB, free: 35.95 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.2617, allocations: 65.97 kB / 329 MB, free: 35.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.2617, allocations: 53.03 kB / 329.1 MB, free: 35.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 6.041e-06/0.2617, allocations: 0 / 329.1 MB, free: 35.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.01786/0.2796, allocations: 9.729 MB / 338.8 MB, free: 26.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.2796, allocations: 73.41 kB / 338.9 MB, free: 26.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/0.2821, allocations: 2.193 MB / 341.1 MB, free: 23.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.2823, allocations: 61.7 kB / 341.1 MB, free: 23.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007936/0.2831, allocations: 1.663 MB / 342.8 MB, free: 22.4 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004841/0.2836, allocations: 0.7576 MB / 343.6 MB, free: 21.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/0.2842, allocations: 415.9 kB / 344 MB, free: 21.24 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.2842, allocations: 309.1 kB / 344.3 MB, free: 20.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.2859, allocations: 1.301 MB / 345.6 MB, free: 19.63 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.2878, allocations: 1.782 MB / 347.4 MB, free: 17.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.2914, allocations: 3.216 MB / 350.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.2914, allocations: 4 kB / 350.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005957/0.2974, allocations: 4.155 MB / 354.7 MB, free: 10.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2974, allocations: 12 kB / 354.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.2974, allocations: 12 kB / 354.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003012/0.3004, allocations: 0.9407 MB / 355.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.3024, allocations: 0.5305 MB / 356.2 MB, free: 8.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008538/0.311, allocations: 9.033 MB / 365.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.3131, allocations: 119.8 kB / 365.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/0.3133, allocations: 92 kB / 365.5 MB, free: 15.05 MB / 298.7 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.002742/0.3161, allocations: 1.208 MB / 366.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00098/0.3171, allocations: 334.4 kB / 367 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008016/0.3251, allocations: 3.686 MB / 370.7 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/0.3251, allocations: 20 kB / 370.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/0.3251, allocations: 8 kB / 370.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.3252, allocations: 15.95 kB / 370.7 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.3415, allocations: 7.116 MB / 377.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.3415, allocations: 0 / 377.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/0.3434, allocations: 387.4 kB / 378.2 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00407/0.3475, allocations: 0.9765 MB / 379.2 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002309/0.3477, allocations: 55.98 kB / 379.2 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/0.3628, allocations: 10.52 MB / 389.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3628, allocations: 0 / 389.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.3736, allocations: 5.547 MB / 395.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/0.3753, allocations: 0.545 MB / 395.9 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/0.3757, allocations: 55.98 kB / 395.9 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.3771, allocations: 115.8 kB / 396 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005/0.3776, allocations: 181.7 kB / 396.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/0.3777, allocations: 63.98 kB / 396.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00267/0.3804, allocations: 1.489 MB / 397.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3804, allocations: 0 / 397.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002664/0.3831, allocations: 0.7891 MB / 398.6 MB, free: 13.37 MB / 330.7 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.0006574/0.3837, allocations: 236 kB / 398.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007307/0.391, allocations: 3.635 MB / 402.4 MB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.391, allocations: 8 kB / 402.4 MB, free: 9.465 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004553/0.3956, allocations: 2.306 MB / 404.7 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/0.3991, allocations: 0.6546 MB / 405.4 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.4146, allocations: 7.711 MB / 413.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003357/0.4179, allocations: 2.226 MB / 415.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002293/0.4202, allocations: 0.6412 MB / 416 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/0.4209, allocations: 168.5 kB / 416.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/0.4209, allocations: 0 / 416.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of Templates: time 0.1679/0.5888, allocations: 40.27 MB / 456.4 MB, free: 117.4 MB / 362.7 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.4951516930013895]