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.0009453/0.0009453, allocations: 85.95 kB / 23 MB, free: 1.504 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.001285/0.001285, allocations: 172.2 kB / 26.39 MB, free: 8 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.053/1.053, allocations: 158.6 MB / 188.3 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.292e-05, allocations: 6.25 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01065/0.01068, allocations: 8.549 MB / 260.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004616/0.01529, allocations: 2.821 MB / 263.6 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000633/0.01593, allocations: 47.62 kB / 263.7 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.01696, allocations: 0.6092 MB / 264.3 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.01819, allocations: 0.7605 MB / 265.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.01866, allocations: 343.3 kB / 265.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.02019, allocations: 2.314 MB / 267.7 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.02132, allocations: 0.965 MB / 268.7 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.02272, allocations: 1.669 MB / 270.3 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.02375, allocations: 1.157 MB / 271.5 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.02398, allocations: 260 kB / 271.7 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.02439, allocations: 351.8 kB / 272.1 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000458/0.02485, allocations: 0.7635 MB / 272.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006254/0.02547, allocations: 0.8224 MB / 273.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.02701, allocations: 1.9 MB / 275.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.02702, allocations: 0 / 275.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.02702, allocations: 0 / 275.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.02704, allocations: 4 kB / 275.6 MB, free: 15.79 MB / 266.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.002753/0.02979, allocations: 2.509 MB / 278.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.02983, allocations: 19.91 kB / 278.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.03039, allocations: 403.4 kB / 278.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.03143, allocations: 1.054 MB / 279.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.03151, allocations: 135.9 kB / 279.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.03169, allocations: 184.3 kB / 279.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.0332, allocations: 1.368 MB / 281.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.03324, allocations: 15.88 kB / 281.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.03335, allocations: 72 kB / 281.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.078e-05/0.03343, allocations: 95.5 kB / 281.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008234/0.03426, allocations: 0.5256 MB / 281.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005727/0.03998, allocations: 5.706 MB / 287.7 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.04064, allocations: 0.5194 MB / 288.2 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/0.04119, allocations: 429.4 kB / 288.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.04132, allocations: 52.84 kB / 288.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.04136, allocations: 50.86 kB / 288.7 MB, free: 2.312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.404e-06/0.04136, allocations: 0 / 288.7 MB, free: 2.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003988/0.04535, allocations: 2.394 MB / 291.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.04537, allocations: 64.41 kB / 291.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008129/0.04619, allocations: 0.9445 MB / 292.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.04624, allocations: 49.7 kB / 292.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.04671, allocations: 0.967 MB / 293.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.04692, allocations: 392.7 kB / 293.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.04715, allocations: 228.4 kB / 293.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.04729, allocations: 0.5354 MB / 294.3 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.04749, allocations: 150.5 kB / 294.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.04791, allocations: 0.5902 MB / 295 MB, free: 11.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.04859, allocations: 0.8614 MB / 295.8 MB, free: 10.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.04859, allocations: 3.938 kB / 295.9 MB, free: 10.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001626/0.05022, allocations: 1.093 MB / 296.9 MB, free: 9.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.05024, allocations: 8 kB / 297 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.05025, allocations: 12 kB / 297 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005271/0.05078, allocations: 262.2 kB / 297.2 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.05125, allocations: 235.6 kB / 297.5 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.0543, allocations: 6.391 MB / 303.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.05465, allocations: 39.97 kB / 303.9 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.0547, allocations: 47.92 kB / 303.9 MB, free: 2.215 MB / 282.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: 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.0005373/0.05524, allocations: 228.2 kB / 304.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.05542, allocations: 171.1 kB / 304.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.05654, allocations: 0.9305 MB / 305.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.05654, allocations: 12 kB / 305.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.05655, allocations: 4 kB / 305.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.05655, allocations: 3.984 kB / 305.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.05937, allocations: 2.643 MB / 307.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/0.05938, allocations: 4 kB / 307.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.05973, allocations: 156.3 kB / 308.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005978/0.06033, allocations: 311.7 kB / 308.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.06038, allocations: 31.98 kB / 308.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003956/0.06434, allocations: 8.131 MB / 316.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.06434, allocations: 7.938 kB / 316.5 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.06589, allocations: 1.411 MB / 318 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.06616, allocations: 223 kB / 318.2 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.06626, allocations: 39.92 kB / 318.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005685/0.06683, allocations: 39.98 kB / 318.2 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.06695, allocations: 104.6 kB / 318.4 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.06699, allocations: 31.98 kB / 318.4 MB, free: 3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003743/0.06737, allocations: 0.5299 MB / 318.9 MB, free: 2.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06737, allocations: 0 / 318.9 MB, free: 2.461 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008088/0.06817, allocations: 399.9 kB / 319.3 MB, free: 2.07 MB / 298.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002429/0.06842, allocations: 187 kB / 319.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.06956, allocations: 1.307 MB / 320.8 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.06956, allocations: 1.938 kB / 320.8 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000834/0.07039, allocations: 1.151 MB / 321.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008574/0.07125, allocations: 332.7 kB / 322.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.07489, allocations: 3.323 MB / 325.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.07526, allocations: 499.5 kB / 326.1 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.07562, allocations: 158.8 kB / 326.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/0.07615, allocations: 378 kB / 326.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.07615, allocations: 0 / 326.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of Templates: time 0.0273/0.1034, allocations: 22.32 MB / 348.9 MB, free: 4.148 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Inverter/AIMC_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6972883781418204]