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.001403/0.001403, allocations: 120.2 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.001534/0.001534, 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.463/1.463, 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.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: 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.001799/0.001799, allocations: 55.92 kB / 348.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3133, allocations: 49.16 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01344/0.3268, allocations: 11.85 MB / 409.5 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009634/0.3364, allocations: 3.833 MB / 413.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.3396, allocations: 78.47 kB / 413.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003593/0.3432, allocations: 0.9177 MB / 414.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004969/0.3482, allocations: 1.149 MB / 415.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.35, allocations: 0.5105 MB / 416 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007098/0.3571, allocations: 4.258 MB / 420.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004259/0.3614, allocations: 1.786 MB / 422 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004718/0.3661, allocations: 1.935 MB / 423.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006109/0.3722, allocations: 2.392 MB / 426.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002119/0.3743, allocations: 0.4972 MB / 426.8 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.3777, allocations: 0.5895 MB / 427.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003534/0.3812, allocations: 1.422 MB / 428.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006811/0.3881, allocations: 2.209 MB / 431 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.4005, allocations: 6.569 MB / 437.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.4005, allocations: 0 / 437.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4005, allocations: 0 / 437.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002699/0.4007, allocations: 3.938 kB / 437.6 MB, free: 11.21 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01678/0.4175, allocations: 4.321 MB / 441.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/0.4176, allocations: 15.97 kB / 442 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/0.4206, allocations: 462.3 kB / 442.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007769/0.4283, allocations: 2.195 MB / 444.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.4287, allocations: 230.1 kB / 444.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001784/0.4305, allocations: 308 kB / 445.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.4434, allocations: 4.373 MB / 449.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/0.4436, allocations: 8 kB / 449.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008967/0.4445, allocations: 128 kB / 449.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/0.4447, allocations: 134 kB / 449.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009503/0.4542, allocations: 3.771 MB / 453.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03197/0.4862, allocations: 13.26 MB / 466.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/0.4902, allocations: 2.093 MB / 468.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003281/0.4935, allocations: 1.559 MB / 470.5 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/0.4938, allocations: 57.27 kB / 470.5 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/0.4939, allocations: 51.81 kB / 470.6 MB, free: 9.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 4.939e-06/0.4939, allocations: 4 kB / 470.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.02204/0.5159, allocations: 8.576 MB / 479.1 MB, free: 1.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.516, allocations: 77.41 kB / 479.2 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005134/0.5211, allocations: 2.361 MB / 481.6 MB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004127/0.5215, allocations: 53.7 kB / 481.6 MB, free: 14.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.5231, allocations: 1.505 MB / 483.1 MB, free: 13.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.5242, allocations: 0.6313 MB / 483.8 MB, free: 12.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.5253, allocations: 375.3 kB / 484.1 MB, free: 12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.5255, allocations: 305.1 kB / 484.4 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.5277, allocations: 1.12 MB / 485.5 MB, free: 10.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002609/0.5303, allocations: 1.566 MB / 487.1 MB, free: 8.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/0.5351, allocations: 2.788 MB / 489.9 MB, free: 5.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/0.5351, allocations: 4 kB / 489.9 MB, free: 5.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007551/0.5427, allocations: 3.59 MB / 493.5 MB, free: 2.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.5427, allocations: 15.94 kB / 493.5 MB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/0.5428, allocations: 12 kB / 493.5 MB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/0.545, allocations: 0.7944 MB / 494.3 MB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.5472, allocations: 459.3 kB / 494.8 MB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.5601, allocations: 10.66 MB / 0.4936 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.5625, allocations: 123.9 kB / 0.4937 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004529/0.563, allocations: 76 kB / 0.4938 GB, free: 5.523 MB / 414.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.002779/0.5658, allocations: 1.091 MB / 0.4948 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000995/0.5667, allocations: 262.3 kB / 0.4951 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007005/0.5738, allocations: 3.285 MB / 0.4983 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.5738, allocations: 20 kB / 0.4983 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-05/0.5738, allocations: 12.06 kB / 0.4983 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.5738, allocations: 7.969 kB / 0.4983 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/0.59, allocations: 6.82 MB / 0.505 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.59, allocations: 224 / 0.505 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/0.5914, allocations: 295.6 kB / 0.5053 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002654/0.594, allocations: 0.9197 MB / 0.5062 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/0.5942, allocations: 39.98 kB / 0.5062 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01666/0.6109, allocations: 13.89 MB / 0.5198 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6109, allocations: 4.031 kB / 0.5198 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009927/0.6208, allocations: 4.87 MB / 0.5245 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/0.6227, allocations: 0.506 MB / 0.525 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008594/0.6236, allocations: 39.94 kB / 0.5251 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/0.6254, allocations: 123.9 kB / 0.5252 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004842/0.6258, allocations: 161.6 kB / 0.5253 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.626, allocations: 47.98 kB / 0.5254 GB, free: 4.086 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003451/0.6295, allocations: 1.629 MB / 0.527 GB, free: 2.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6295, allocations: 0 / 0.527 GB, free: 2.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003335/0.6328, allocations: 0.7071 MB / 0.5277 GB, free: 1.734 MB / 446.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.0007316/0.6335, allocations: 214.8 kB / 0.5279 GB, free: 1.516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006689/0.6402, allocations: 3.325 MB / 0.5311 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.6402, allocations: 0 / 0.5311 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00433/0.6446, allocations: 2.362 MB / 0.5334 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004441/0.649, allocations: 0.71 MB / 0.5341 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/0.6652, allocations: 6.905 MB / 0.5409 GB, free: 3.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/0.669, allocations: 2.474 MB / 0.5433 GB, free: 1.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.6702, allocations: 171.4 kB / 0.5434 GB, free: 1.309 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/0.6702, allocations: 0 / 0.5434 GB, free: 1.309 MB / 462.1 MB Notification: Performance of Templates: time 0.3463/1.016, allocations: 168.2 MB / 0.7077 GB, free: 11.17 MB / 478.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/jenkins1/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/jenkins1/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: 16.764036213979125]