Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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.001392/0.001392, allocations: 101.8 kB / 21.93 MB, free: 5.203 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.00155/0.00155, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.461/1.461, allocations: 207.7 MB / 236.1 MB, free: 9.77 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_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") [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.001874/0.001874, allocations: 59.92 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3029, allocations: 49.16 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.009/0.3119, allocations: 7.808 MB / 405.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005211/0.3171, allocations: 2.723 MB / 408.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.3183, allocations: 51.25 kB / 408.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.3199, allocations: 0.5872 MB / 408.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.3223, allocations: 0.7535 MB / 409.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008022/0.3231, allocations: 324.3 kB / 409.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.3257, allocations: 2.237 MB / 412.1 MB, free: 224 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.3272, allocations: 0.9627 MB / 413 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.329, allocations: 1.035 MB / 414.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.3312, allocations: 1.232 MB / 415.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004453/0.3316, allocations: 268.8 kB / 415.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000856/0.3325, allocations: 361.8 kB / 415.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008803/0.3334, allocations: 0.7656 MB / 416.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.3347, allocations: 0.977 MB / 417.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004342/0.339, allocations: 3.564 MB / 421.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.339, allocations: 7.984 kB / 421.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.339, allocations: 0 / 421.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.725e-05/0.3391, allocations: 0 / 421.2 MB, free: 10.34 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005656/0.3448, allocations: 2.457 MB / 423.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3448, allocations: 17.48 kB / 423.7 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007461/0.3456, allocations: 262.8 kB / 424 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.3483, allocations: 1.163 MB / 425.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.3485, allocations: 135.9 kB / 425.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/0.3488, allocations: 192 kB / 425.5 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004543/0.3533, allocations: 2.467 MB / 427.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/0.3534, allocations: 4 kB / 427.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.3536, allocations: 72 kB / 428 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.3537, allocations: 91.5 kB / 428.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003723/0.3574, allocations: 1.962 MB / 430.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.3692, allocations: 6.114 MB / 436.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.3711, allocations: 0.9855 MB / 437.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.3728, allocations: 0.7992 MB / 438 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.373, allocations: 44.95 kB / 438 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.3731, allocations: 43.56 kB / 438 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 3.016e-06/0.3731, allocations: 4 kB / 438 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01417/0.3872, allocations: 5.52 MB / 443.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.3873, allocations: 72.34 kB / 443.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.389, allocations: 1.075 MB / 444.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.3891, allocations: 45.7 kB / 444.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007331/0.3898, allocations: 0.9019 MB / 445.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.3902, allocations: 384.8 kB / 446 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/0.3906, allocations: 214.9 kB / 446.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3908, allocations: 357.9 kB / 446.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.3919, allocations: 0.6155 MB / 447.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.3933, allocations: 0.9236 MB / 448.1 MB, free: 16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.3959, allocations: 1.636 MB / 449.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.3959, allocations: 4 kB / 449.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004241/0.4002, allocations: 2.137 MB / 451.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.4002, allocations: 8 kB / 451.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.4002, allocations: 12 kB / 451.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.4014, allocations: 476.1 kB / 452.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.4025, allocations: 267.6 kB / 452.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007746/0.4102, allocations: 6.596 MB / 459.2 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.4115, allocations: 91.92 kB / 459.3 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.4116, allocations: 51.94 kB / 459.4 MB, free: 4.258 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001279/0.4128, allocations: 0.595 MB / 460 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/0.4132, allocations: 123.2 kB / 460.1 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.417, allocations: 1.924 MB / 462 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.417, allocations: 15.94 kB / 462 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.417, allocations: 4 kB / 462 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.417, allocations: 3.984 kB / 462 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007632/0.4246, allocations: 3.663 MB / 465.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.4246, allocations: 4.531 kB / 465.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007827/0.4254, allocations: 183.8 kB / 465.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/0.4269, allocations: 0.5192 MB / 466.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.424e-05/0.427, allocations: 31.98 kB / 466.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00913/0.4361, allocations: 8.06 MB / 474.5 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.4361, allocations: 7.938 kB / 474.5 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005237/0.4413, allocations: 2.858 MB / 477.4 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.4425, allocations: 263 kB / 477.6 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.4428, allocations: 35.98 kB / 477.7 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/0.4436, allocations: 71.92 kB / 477.7 MB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.4438, allocations: 100.7 kB / 477.8 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/0.4439, allocations: 35.98 kB / 477.9 MB, free: 1.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001184/0.4451, allocations: 0.7254 MB / 478.6 MB, free: 408 kB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4451, allocations: 0 / 478.6 MB, free: 408 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001542/0.4466, allocations: 407.9 kB / 479 MB, free: 0 / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * 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 (89): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,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.0003854/0.447, allocations: 187 kB / 479.2 MB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.4506, allocations: 1.943 MB / 481.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4506, allocations: 1.938 kB / 481.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.453, allocations: 1.357 MB / 482.5 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.4547, allocations: 324.5 kB / 482.8 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006927/0.4616, allocations: 4.03 MB / 486.8 MB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.4629, allocations: 1.042 MB / 487.9 MB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.4633, allocations: 99.36 kB / 488 MB, free: 6.777 MB / 398.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4633, allocations: 0 / 488 MB, free: 6.777 MB / 398.1 MB Notification: Performance of Templates: time 0.08328/0.5466, allocations: 67.88 MB / 0.5428 GB, free: 2.738 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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: 11.541420415975153]