Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.0009095/0.0009095, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.006216/0.006216, allocations: 154.8 kB / 24.69 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8597/0.8597, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.628e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.006548/0.006574, allocations: 8.4 MB / 334.2 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.009738, allocations: 2.878 MB / 337.1 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.01012, allocations: 59.62 kB / 337.2 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009026/0.01103, allocations: 0.6286 MB / 337.8 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.01208, allocations: 0.8499 MB / 338.7 MB, free: 2.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.01244, allocations: 371.3 kB / 339 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.01394, allocations: 2.765 MB / 341.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009571/0.0149, allocations: 1.124 MB / 342.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.01658, allocations: 1.785 MB / 344.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.01839, allocations: 1.321 MB / 346 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004939/0.01889, allocations: 308 kB / 346.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007196/0.01961, allocations: 403.9 kB / 346.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006218/0.02023, allocations: 0.9231 MB / 347.6 MB, free: 9.496 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.02127, allocations: 0.9666 MB / 348.6 MB, free: 8.527 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003409/0.02468, allocations: 4.16 MB / 352.8 MB, free: 4.355 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.02469, allocations: 0 / 352.8 MB, free: 4.355 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.02469, allocations: 4 kB / 352.8 MB, free: 4.352 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.421e-05/0.02478, allocations: 0 / 352.8 MB, free: 4.352 MB / 314.7 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.004307/0.02909, allocations: 2.848 MB / 355.6 MB, free: 1.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.02914, allocations: 8.031 kB / 355.6 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007243/0.02986, allocations: 331.1 kB / 355.9 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.03192, allocations: 1.487 MB / 357.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.7e-05/0.03201, allocations: 148.4 kB / 357.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.03224, allocations: 212.2 kB / 357.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/0.03541, allocations: 2.844 MB / 360.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/0.03545, allocations: 7.953 kB / 360.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.03558, allocations: 84 kB / 360.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.523e-05/0.03565, allocations: 95.92 kB / 360.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.03826, allocations: 2.315 MB / 363.1 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008436/0.0467, allocations: 7.25 MB / 370.4 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.048, allocations: 1.241 MB / 371.6 MB, free: 1.062 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.04914, allocations: 1.018 MB / 372.6 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.0493, allocations: 52.95 kB / 372.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.04933, allocations: 47.5 kB / 372.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 2.845e-06/0.04933, allocations: 0 / 372.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=120): time 0.00795/0.05728, allocations: 5.901 MB / 378.6 MB, free: 9.996 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.05732, allocations: 72.33 kB / 378.7 MB, free: 9.914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.05898, allocations: 1.389 MB / 380.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.62e-05/0.05906, allocations: 49.7 kB / 380.1 MB, free: 8.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/0.05954, allocations: 1.02 MB / 381.2 MB, free: 7.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.05977, allocations: 432.3 kB / 381.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.06003, allocations: 255.5 kB / 381.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.06013, allocations: 361.9 kB / 382.2 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.06089, allocations: 0.73 MB / 382.9 MB, free: 5.648 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/0.06176, allocations: 1.055 MB / 384 MB, free: 4.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.0634, allocations: 1.879 MB / 385.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.06341, allocations: 4 kB / 385.9 MB, free: 2.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002597/0.06601, allocations: 2.342 MB / 388.2 MB, free: 88 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.06603, allocations: 11.94 kB / 388.2 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.06605, allocations: 12.34 kB / 388.2 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.06666, allocations: 407.2 kB / 388.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.06731, allocations: 327.5 kB / 388.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/0.07063, allocations: 4.782 MB / 393.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007906/0.07142, allocations: 87.86 kB / 393.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/0.07149, allocations: 56 kB / 393.9 MB, free: 10.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(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.0009918/0.07248, allocations: 0.7159 MB / 394.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.07272, allocations: 159 kB / 394.7 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.07494, allocations: 2.12 MB / 396.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.07494, allocations: 12 kB / 396.9 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.07495, allocations: 0 / 396.9 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.07496, allocations: 15.91 kB / 396.9 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/0.07967, allocations: 4.043 MB / 400.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.07968, allocations: 4 kB / 400.9 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.08019, allocations: 227.6 kB / 401.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006972/0.08089, allocations: 459 kB / 401.6 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/0.08095, allocations: 35.98 kB / 401.6 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003981/0.08494, allocations: 6.263 MB / 407.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.08494, allocations: 0 / 407.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/0.08818, allocations: 3.169 MB / 411.1 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007003/0.08888, allocations: 314.8 kB / 411.4 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.08903, allocations: 39.92 kB / 411.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.08948, allocations: 71.92 kB / 411.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.08968, allocations: 116.7 kB / 411.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.08973, allocations: 35.98 kB / 411.6 MB, free: 7.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001092/0.09082, allocations: 0.9431 MB / 412.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09082, allocations: 0 / 412.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001111/0.09194, allocations: 463.9 kB / 413 MB, free: 6.523 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * 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,1,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.0003544/0.09229, allocations: 201.7 kB / 413.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.09463, allocations: 2.036 MB / 415.3 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.09463, allocations: 1.875 kB / 415.3 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.09599, allocations: 1.362 MB / 416.6 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.09724, allocations: 388.9 kB / 417 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005299/0.1025, allocations: 4.408 MB / 421.4 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009401/0.1035, allocations: 1.23 MB / 422.6 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/0.1039, allocations: 112.5 kB / 422.7 MB, free: 12.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.964e-06/0.1039, allocations: 0 / 422.7 MB, free: 12.62 MB / 394.7 MB Notification: Performance of Templates: time 0.18/0.2839, allocations: 70.44 MB / 493.2 MB, free: 81.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 8.03176800813526]