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.002386/0.002386, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002914/0.002914, allocations: 168.6 kB / 25.03 MB, free: 8.414 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.388/1.388, allocations: 158.6 MB / 186.8 MB, free: 2.914 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.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.403e-06/1.403e-06, allocations: 0 / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.824e-05, allocations: 2.312 kB / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01734/0.01737, allocations: 11.56 MB / 262 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009439/0.02681, allocations: 3.763 MB / 265.7 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.02926, allocations: 79.44 kB / 265.8 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003436/0.03269, allocations: 0.8615 MB / 266.7 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.03727, allocations: 1.18 MB / 267.8 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.03893, allocations: 499.3 kB / 268.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007247/0.04617, allocations: 4.415 MB / 272.7 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003763/0.04994, allocations: 1.742 MB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005745/0.05568, allocations: 2.846 MB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005038/0.06072, allocations: 2.249 MB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.06216, allocations: 0.5 MB / 280.1 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.06415, allocations: 0.5779 MB / 280.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002095/0.06624, allocations: 1.476 MB / 282.1 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003745/0.06999, allocations: 1.54 MB / 283.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.08071, allocations: 6.7 MB / 290.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.08072, allocations: 0 / 290.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.08072, allocations: 0 / 290.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002664/0.08099, allocations: 0 / 290.4 MB, free: 15.61 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01361/0.0946, allocations: 4.874 MB / 295.2 MB, free: 10.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.09464, allocations: 11.98 kB / 295.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.09636, allocations: 0.7052 MB / 296 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005425/0.1018, allocations: 2.096 MB / 298.1 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.1021, allocations: 230.5 kB / 298.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009955/0.103, allocations: 316.1 kB / 298.6 MB, free: 7.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009033/0.1121, allocations: 4.348 MB / 302.9 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.251e-05/0.1122, allocations: 4 kB / 302.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003305/0.1125, allocations: 136 kB / 303.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.1127, allocations: 130 kB / 303.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007336/0.12, allocations: 2.974 MB / 306.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03407/0.1541, allocations: 16.41 MB / 322.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.1573, allocations: 1.598 MB / 324.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002675/0.16, allocations: 1.187 MB / 325.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/0.1603, allocations: 61.28 kB / 325.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.692e-05/0.1604, allocations: 58.69 kB / 325.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=164): time 3.376e-06/0.1604, allocations: 0 / 325.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=180): time 0.0171/0.1775, allocations: 5.871 MB / 331.4 MB, free: 5.445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.1775, allocations: 73.41 kB / 331.4 MB, free: 5.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005243/0.1828, allocations: 2.547 MB / 334 MB, free: 2.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002584/0.1831, allocations: 61.7 kB / 334 MB, free: 2.703 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001798/0.1848, allocations: 1.731 MB / 335.8 MB, free: 0.957 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00094/0.1858, allocations: 0.6822 MB / 336.4 MB, free: 276 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009863/0.1868, allocations: 453.2 kB / 336.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002711/0.187, allocations: 488.7 kB / 337.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.1887, allocations: 0.6558 MB / 338 MB, free: 14.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.191, allocations: 1.361 MB / 339.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004256/0.1953, allocations: 2.169 MB / 341.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.1953, allocations: 4 kB / 341.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006248/0.2015, allocations: 2.614 MB / 344.2 MB, free: 8.016 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.2016, allocations: 12 kB / 344.2 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.59e-05/0.2017, allocations: 12.5 kB / 344.2 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/0.2048, allocations: 0.6805 MB / 344.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.207, allocations: 455.3 kB / 345.3 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1485/0.3554, allocations: 11.36 MB / 356.7 MB, free: 90.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.3583, allocations: 124.4 kB / 356.8 MB, free: 90.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003879/0.3587, allocations: 72.94 kB / 356.9 MB, free: 90.68 MB / 330.7 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.001948/0.3606, allocations: 0.9068 MB / 357.8 MB, free: 90.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008555/0.3615, allocations: 297.9 kB / 358.1 MB, free: 90.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006236/0.3677, allocations: 2.212 MB / 360.3 MB, free: 90.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.3677, allocations: 18.5 kB / 360.3 MB, free: 90.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.183e-05/0.3677, allocations: 7.594 kB / 360.3 MB, free: 90.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/0.3678, allocations: 12.61 kB / 360.3 MB, free: 90.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.3837, allocations: 5.748 MB / 366.1 MB, free: 89.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.3837, allocations: 3.906 kB / 366.1 MB, free: 89.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/0.3855, allocations: 287.9 kB / 366.4 MB, free: 89.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003628/0.3891, allocations: 0.7756 MB / 367.1 MB, free: 88.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/0.3894, allocations: 38.64 kB / 367.2 MB, free: 88.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.4023, allocations: 15.1 MB / 382.3 MB, free: 74.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4023, allocations: 0 / 382.3 MB, free: 74.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007982/0.4103, allocations: 3.179 MB / 385.4 MB, free: 71.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.4119, allocations: 465.5 kB / 385.9 MB, free: 70.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006255/0.4126, allocations: 36 kB / 385.9 MB, free: 70.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.4141, allocations: 119.1 kB / 386 MB, free: 70.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004504/0.4146, allocations: 169.5 kB / 386.2 MB, free: 70.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.4147, allocations: 47.98 kB / 386.3 MB, free: 70.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002158/0.4168, allocations: 1.495 MB / 387.8 MB, free: 68.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4168, allocations: 0 / 387.8 MB, free: 68.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002263/0.4191, allocations: 0.7011 MB / 388.5 MB, free: 68.18 MB / 330.7 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.000411/0.4195, allocations: 207.1 kB / 388.7 MB, free: 67.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003909/0.4234, allocations: 2.911 MB / 391.6 MB, free: 64.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4234, allocations: 0 / 391.6 MB, free: 64.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00266/0.4261, allocations: 2.381 MB / 394 MB, free: 62.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/0.429, allocations: 0.6424 MB / 394.6 MB, free: 61.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009388/0.4384, allocations: 6.022 MB / 400.6 MB, free: 55.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/0.4403, allocations: 1.834 MB / 402.4 MB, free: 53.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001584/0.4419, allocations: 446.9 kB / 402.9 MB, free: 53.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005628/0.4425, allocations: 152.5 kB / 403 MB, free: 53.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.923e-06/0.4425, allocations: 0 / 403 MB, free: 53.3 MB / 330.7 MB Notification: Performance of Templates: time 0.05439/0.4969, allocations: 40.85 MB / 443.9 MB, free: 12.43 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) [Timeout 240] 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: 6.278365748003125]