Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.001736/0.001736, allocations: 109.2 kB / 21.93 MB, free: 5.223 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.002074/0.002074, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.559/1.559, allocations: 207.7 MB / 236.1 MB, free: 9.805 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.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [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.001791/0.001791, allocations: 63.91 kB / 348.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.246, allocations: 49.14 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.009107/0.2551, allocations: 8.52 MB / 406.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006496/0.2616, allocations: 3.302 MB / 409.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.2632, allocations: 53.69 kB / 409.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.2651, allocations: 0.6578 MB / 410.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.2677, allocations: 0.8785 MB / 411 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.2688, allocations: 454.6 kB / 411.5 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003448/0.2723, allocations: 2.678 MB / 414.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.2739, allocations: 1.027 MB / 415.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.2759, allocations: 1.209 MB / 416.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.2785, allocations: 1.454 MB / 417.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005106/0.279, allocations: 306.5 kB / 418.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.2803, allocations: 0.5386 MB / 418.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.2815, allocations: 1.049 MB / 419.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.2833, allocations: 1.185 MB / 420.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005649/0.2889, allocations: 4.323 MB / 425.3 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2889, allocations: 0 / 425.3 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2889, allocations: 0 / 425.3 MB, free: 7.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001205/0.289, allocations: 4 kB / 425.3 MB, free: 7.449 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007236/0.2963, allocations: 3.161 MB / 428.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2963, allocations: 11.98 kB / 428.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008873/0.2972, allocations: 338.9 kB / 428.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/0.3004, allocations: 1.552 MB / 430.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.3005, allocations: 152 kB / 430.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003624/0.3009, allocations: 211.9 kB / 430.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005144/0.306, allocations: 2.791 MB / 433.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.306e-05/0.3061, allocations: 11.94 kB / 433.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002045/0.3063, allocations: 84 kB / 433.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.3064, allocations: 95.92 kB / 433.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004466/0.3109, allocations: 2.276 MB / 435.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.3251, allocations: 7.071 MB / 443 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/0.3281, allocations: 1.305 MB / 444.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.3302, allocations: 1.026 MB / 445.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.3305, allocations: 44.97 kB / 445.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.3305, allocations: 43.56 kB / 445.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.807e-06/0.3305, allocations: 4 kB / 445.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01394/0.3445, allocations: 5.991 MB / 451.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.3445, allocations: 64.72 kB / 451.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/0.3479, allocations: 2.025 MB / 453.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.348, allocations: 49.64 kB / 453.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.349, allocations: 1.136 MB / 454.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/0.3495, allocations: 483.9 kB / 455.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/0.35, allocations: 239.6 kB / 455.4 MB, free: 8.828 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3502, allocations: 357.9 kB / 455.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.3517, allocations: 0.7613 MB / 456.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.3533, allocations: 1.009 MB / 457.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/0.3565, allocations: 1.858 MB / 459.4 MB, free: 4.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3565, allocations: 3.938 kB / 459.4 MB, free: 4.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005768/0.3623, allocations: 2.739 MB / 462.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.3623, allocations: 11.98 kB / 462.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.3623, allocations: 4 kB / 462.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00213/0.3645, allocations: 0.7775 MB / 462.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.3657, allocations: 271.6 kB / 463.2 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.3795, allocations: 9.247 MB / 472.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.381, allocations: 91.89 kB / 472.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.3812, allocations: 51.98 kB / 472.6 MB, free: 7.242 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001535/0.3827, allocations: 0.7472 MB / 473.3 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005143/0.3832, allocations: 194.7 kB / 473.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00504/0.3882, allocations: 2.464 MB / 476 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/0.3883, allocations: 16 kB / 476 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.3883, allocations: 11.98 kB / 476 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.3883, allocations: 7.969 kB / 476 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009622/0.3979, allocations: 4.377 MB / 480.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3979, allocations: 192 / 480.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.399, allocations: 219.7 kB / 480.6 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00193/0.4009, allocations: 0.6551 MB / 481.2 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.4011, allocations: 31.98 kB / 481.3 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.4121, allocations: 8.248 MB / 489.5 MB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4121, allocations: 4.031 kB / 489.5 MB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007063/0.4191, allocations: 3.509 MB / 493 MB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/0.4204, allocations: 354.6 kB / 493.4 MB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/0.4207, allocations: 28.06 kB / 493.4 MB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.4218, allocations: 99.88 kB / 493.5 MB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/0.4221, allocations: 108.7 kB / 493.6 MB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.4222, allocations: 39.97 kB / 493.6 MB, free: 1.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002337/0.4245, allocations: 1.407 MB / 495.1 MB, free: 284 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4245, allocations: 0 / 495.1 MB, free: 284 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.00216/0.4267, allocations: 0.5274 MB / 495.6 MB, free: 15.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001857/0.4285, allocations: 484.6 kB / 496.1 MB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004886/0.4334, allocations: 2.303 MB / 498.4 MB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.4334, allocations: 320 / 498.4 MB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002892/0.4363, allocations: 1.463 MB / 499.8 MB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.4385, allocations: 381.8 kB / 0.4885 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0099/0.4484, allocations: 5.26 MB / 0.4936 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/0.4502, allocations: 1.36 MB / 0.4949 GB, free: 4.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/0.4508, allocations: 139.4 kB / 0.4951 GB, free: 4.195 MB / 414.1 MB Notification: Performance of SimCode: time 1.001e-06/0.4508, allocations: 3.938 kB / 0.4951 GB, free: 4.191 MB / 414.1 MB Notification: Performance of Templates: time 0.08796/0.5387, allocations: 63.99 MB / 0.5576 GB, free: 4.051 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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: 14.301287817768753]