Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.0008388/0.0008388, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004657/0.004657, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8857/0.8857, allocations: 177.1 MB / 205 MB, free: 5.734 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_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.694e-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_Inverter): time 0.006925/0.006952, allocations: 7.899 MB / 333.7 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004236/0.01119, allocations: 2.742 MB / 336.5 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.01223, allocations: 55.62 kB / 336.5 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.01353, allocations: 0.5976 MB / 337.1 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.01547, allocations: 0.7761 MB / 337.9 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.0161, allocations: 335.4 kB / 338.2 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002221/0.01832, allocations: 2.325 MB / 340.6 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.01957, allocations: 0.9813 MB / 341.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.02138, allocations: 1.524 MB / 343.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.02266, allocations: 1.118 MB / 344.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002661/0.02292, allocations: 268 kB / 344.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.02344, allocations: 359.8 kB / 344.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005421/0.02398, allocations: 0.7868 MB / 345.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006962/0.02467, allocations: 0.838 MB / 346.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.02786, allocations: 3.583 MB / 350 MB, free: 7.133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.02787, allocations: 7.938 kB / 350 MB, free: 7.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02787, allocations: 0 / 350 MB, free: 7.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.132e-05/0.02793, allocations: 0 / 350 MB, free: 7.125 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.003798/0.03173, allocations: 2.454 MB / 352.5 MB, free: 4.629 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.03178, allocations: 8.031 kB / 352.5 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004864/0.03227, allocations: 263.5 kB / 352.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.03388, allocations: 1.249 MB / 354 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.91e-05/0.03396, allocations: 131.9 kB / 354.1 MB, free: 2.938 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.03415, allocations: 180.3 kB / 354.3 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/0.03758, allocations: 2.479 MB / 356.8 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.03762, allocations: 7.953 kB / 356.8 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.03773, allocations: 72 kB / 356.8 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.225e-05/0.03781, allocations: 91.5 kB / 356.9 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/0.0405, allocations: 1.966 MB / 358.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008338/0.04884, allocations: 6.102 MB / 365 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.05012, allocations: 0.9886 MB / 366 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009749/0.05109, allocations: 0.8115 MB / 366.8 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.05125, allocations: 44.97 kB / 366.8 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.05128, allocations: 43.5 kB / 366.9 MB, free: 5.906 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 3.367e-06/0.05129, allocations: 0 / 366.9 MB, free: 5.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.008909/0.06019, allocations: 5.646 MB / 372.5 MB, free: 220 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.06025, allocations: 60.41 kB / 372.6 MB, free: 148 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.06154, allocations: 1.079 MB / 373.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.16e-05/0.06162, allocations: 45.7 kB / 373.7 MB, free: 15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.0621, allocations: 0.8941 MB / 374.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.06233, allocations: 384.7 kB / 375 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.06257, allocations: 218.9 kB / 375.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.06269, allocations: 357.9 kB / 375.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006865/0.06338, allocations: 0.6155 MB / 376.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.06451, allocations: 0.9188 MB / 377.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.06604, allocations: 1.643 MB / 378.7 MB, free: 9.707 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.06604, allocations: 8 kB / 378.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0026/0.06864, allocations: 2.133 MB / 380.9 MB, free: 7.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.06867, allocations: 15.98 kB / 380.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.06869, allocations: 8 kB / 380.9 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007144/0.0694, allocations: 479.9 kB / 381.4 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.06995, allocations: 267.6 kB / 381.6 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005045/0.07499, allocations: 6.591 MB / 388.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009843/0.07598, allocations: 83.86 kB / 388.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.07606, allocations: 48 kB / 388.3 MB, free: 15.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.001094/0.07715, allocations: 0.6051 MB / 388.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.0774, allocations: 127.2 kB / 389.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.08007, allocations: 1.932 MB / 391 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.08008, allocations: 12 kB / 391 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.08009, allocations: 4 kB / 391 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.0801, allocations: 15.91 kB / 391 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004812/0.08491, allocations: 3.665 MB / 394.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.08492, allocations: 4 kB / 394.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.08535, allocations: 179.7 kB / 394.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008552/0.08621, allocations: 0.5234 MB / 395.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.08628, allocations: 31.98 kB / 395.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/0.09246, allocations: 8.057 MB / 403.5 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.09246, allocations: 4 kB / 403.5 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003828/0.09629, allocations: 2.847 MB / 406.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/0.09695, allocations: 259 kB / 406.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.09707, allocations: 31.98 kB / 406.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.09752, allocations: 75.8 kB / 406.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.09772, allocations: 88.77 kB / 406.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.09776, allocations: 32 kB / 406.8 MB, free: 12.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009617/0.09872, allocations: 0.7412 MB / 407.6 MB, free: 11.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.09872, allocations: 0 / 407.6 MB, free: 11.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001324/0.1, allocations: 411.9 kB / 408 MB, free: 11.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (88): * Single equations (assignments): 83 * 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.0003655/0.1004, allocations: 187 kB / 408.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.1028, allocations: 1.941 MB / 410.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1028, allocations: 0 / 410.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.1043, allocations: 1.353 MB / 411.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.1053, allocations: 319.9 kB / 411.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/0.1116, allocations: 3.818 MB / 415.6 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009165/0.1125, allocations: 1.038 MB / 416.6 MB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.1129, allocations: 108.5 kB / 416.7 MB, free: 2.504 MB / 378.7 MB Notification: Performance of SimCode: time 1.492e-06/0.1129, allocations: 0 / 416.7 MB, free: 2.504 MB / 378.7 MB Notification: Performance of Templates: time 0.1955/0.3084, allocations: 68.1 MB / 484.8 MB, free: 91.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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: 8.454045389778912]