Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.001798/0.001798, allocations: 89.02 kB / 21.44 MB, free: 276 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.001895/0.001895, allocations: 163.3 kB / 24.71 MB, free: 3.527 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.296/1.296, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 3.938 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.303e-05, allocations: 6.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01302/0.01305, allocations: 10.32 MB / 309.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007756/0.02081, allocations: 3.623 MB / 312.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.02283, allocations: 79.44 kB / 313 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.02524, allocations: 0.8655 MB / 313.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.02861, allocations: 1.18 MB / 315 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.02969, allocations: 0.4992 MB / 315.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005056/0.03474, allocations: 4.407 MB / 319.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.03713, allocations: 1.73 MB / 321.7 MB, free: 1.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1598/0.1969, allocations: 2.818 MB / 324.5 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004262/0.2012, allocations: 2.086 MB / 326.6 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.2023, allocations: 0.5002 MB / 327.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.2042, allocations: 0.5786 MB / 327.7 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001546/0.2057, allocations: 1.451 MB / 329.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003498/0.2092, allocations: 1.53 MB / 330.6 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.2203, allocations: 6.661 MB / 337.3 MB, free: 16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.2203, allocations: 0 / 337.3 MB, free: 16 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2203, allocations: 1.844 kB / 337.3 MB, free: 16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002942/0.2206, allocations: 0 / 337.3 MB, free: 16 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01335/0.2339, allocations: 4.282 MB / 341.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.234, allocations: 13.2 kB / 341.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.2355, allocations: 467.2 kB / 342 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/0.2394, allocations: 2.196 MB / 344.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.2396, allocations: 234 kB / 344.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/0.24, allocations: 306.7 kB / 344.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006906/0.2469, allocations: 4.593 MB / 349.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.377e-05/0.247, allocations: 12.72 kB / 349.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.2473, allocations: 123.9 kB / 349.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.2474, allocations: 130.3 kB / 349.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005659/0.253, allocations: 3.77 MB / 353.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/0.2725, allocations: 11.75 MB / 365.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003426/0.2759, allocations: 2.087 MB / 367.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002918/0.2788, allocations: 1.556 MB / 368.8 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/0.2791, allocations: 61.27 kB / 368.8 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/0.2792, allocations: 51.88 kB / 368.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 3.967e-06/0.2792, allocations: 0 / 368.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.02039/0.2995, allocations: 8.556 MB / 377.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.2996, allocations: 69.41 kB / 377.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/0.3033, allocations: 2.136 MB / 379.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.3035, allocations: 53.7 kB / 379.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.3049, allocations: 1.512 MB / 381.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006387/0.3055, allocations: 0.6346 MB / 381.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007371/0.3063, allocations: 359.5 kB / 382.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3064, allocations: 309.1 kB / 382.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/0.3084, allocations: 1.12 MB / 383.6 MB, free: 8.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.3108, allocations: 1.57 MB / 385.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004508/0.3153, allocations: 2.796 MB / 388 MB, free: 3.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.3153, allocations: 4 kB / 388 MB, free: 3.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006865/0.3222, allocations: 3.566 MB / 391.6 MB, free: 52 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.3222, allocations: 21.06 kB / 391.6 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.3222, allocations: 15.98 kB / 391.6 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/0.3245, allocations: 0.7979 MB / 392.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.3264, allocations: 461.4 kB / 392.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.3389, allocations: 10.45 MB / 403.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/0.3413, allocations: 123.9 kB / 403.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.3416, allocations: 75.98 kB / 403.5 MB, free: 3.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002367/0.3439, allocations: 1.089 MB / 404.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006996/0.3446, allocations: 238.4 kB / 404.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006463/0.3511, allocations: 3.271 MB / 408.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.3511, allocations: 16 kB / 408.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.3511, allocations: 8 kB / 408.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.3511, allocations: 7.969 kB / 408.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.3637, allocations: 6.053 MB / 414.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/0.3637, allocations: 0 / 414.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.3651, allocations: 300.4 kB / 414.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002669/0.3678, allocations: 0.9231 MB / 415.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.3679, allocations: 39.98 kB / 415.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/0.3832, allocations: 13.62 MB / 429.1 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3832, allocations: 4 kB / 429.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008689/0.3919, allocations: 4.836 MB / 433.9 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/0.3936, allocations: 494.3 kB / 434.4 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000445/0.394, allocations: 43.98 kB / 434.4 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.3954, allocations: 119.9 kB / 434.5 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004412/0.3958, allocations: 157.1 kB / 434.7 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.396, allocations: 54.28 kB / 434.7 MB, free: 3.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002548/0.3985, allocations: 1.463 MB / 436.2 MB, free: 2.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3985, allocations: 0 / 436.2 MB, free: 2.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002408/0.4009, allocations: 0.7032 MB / 436.9 MB, free: 1.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.0004718/0.4014, allocations: 208.9 kB / 437.1 MB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005634/0.407, allocations: 3.33 MB / 440.4 MB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.407, allocations: 1.438 kB / 440.4 MB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003806/0.4108, allocations: 2.346 MB / 442.8 MB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/0.4137, allocations: 0.5993 MB / 443.4 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.4248, allocations: 6.647 MB / 450 MB, free: 4.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/0.4271, allocations: 1.97 MB / 452 MB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001713/0.4288, allocations: 0.5576 MB / 452.6 MB, free: 1.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/0.4293, allocations: 148.5 kB / 452.7 MB, free: 1.562 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4293, allocations: 0 / 452.7 MB, free: 1.562 MB / 398.1 MB Notification: Performance of Templates: time 0.2163/0.6456, allocations: 40.57 MB / 493.3 MB, free: 143.3 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aims.i_0_r in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat. Warning: Get data of variable aims.i_0_r from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.924165237694979]