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.001487/0.001487, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.001465/0.001465, allocations: 168.2 kB / 25.02 MB, free: 7.906 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.469/1.469, 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.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: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.931e-05/4.153e-05, allocations: 2.312 kB / 250.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01913/0.01917, allocations: 7.827 MB / 258.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.02979, allocations: 2.719 MB / 260.9 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.03152, allocations: 47.69 kB / 261 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003232/0.03475, allocations: 0.5937 MB / 261.6 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.0393, allocations: 0.7723 MB / 262.3 MB, free: 7.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.04091, allocations: 331.4 kB / 262.7 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005233/0.04614, allocations: 2.332 MB / 265 MB, free: 5.238 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.04896, allocations: 0.9611 MB / 265.9 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.05308, allocations: 1.501 MB / 267.4 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004076/0.05716, allocations: 1.114 MB / 268.6 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.05818, allocations: 268 kB / 268.8 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.05999, allocations: 355.8 kB / 269.2 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001821/0.06182, allocations: 0.7985 MB / 270 MB, free: 200 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.06445, allocations: 0.8303 MB / 270.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005995/0.07044, allocations: 3.575 MB / 274.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.07045, allocations: 0 / 274.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.07045, allocations: 0 / 274.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001/0.07055, allocations: 4 kB / 274.4 MB, free: 11.77 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.007025/0.07757, allocations: 2.443 MB / 276.8 MB, free: 9.285 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.07762, allocations: 11.98 kB / 276.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.07887, allocations: 411.5 kB / 277.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/0.08165, allocations: 1.214 MB / 278.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.0818, allocations: 131.9 kB / 278.6 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004108/0.08221, allocations: 188.3 kB / 278.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005507/0.08772, allocations: 2.475 MB / 281.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.048e-05/0.08779, allocations: 7.875 kB / 281.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/0.08801, allocations: 72 kB / 281.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.08814, allocations: 95.5 kB / 281.4 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004151/0.09229, allocations: 1.954 MB / 283.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.1056, allocations: 6.215 MB / 289.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.1079, allocations: 0.9849 MB / 290.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.1096, allocations: 0.803 MB / 291.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.1099, allocations: 48.97 kB / 291.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.1099, allocations: 51.55 kB / 291.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 2.715e-06/0.1099, allocations: 0 / 291.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.01452/0.1244, allocations: 5.555 MB / 297 MB, free: 4.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.1245, allocations: 60.41 kB / 297.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.1265, allocations: 1.075 MB / 298.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.1266, allocations: 49.64 kB / 298.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008375/0.1275, allocations: 0.898 MB / 299.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.1279, allocations: 376.8 kB / 299.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.1283, allocations: 218.9 kB / 299.7 MB, free: 2.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1285, allocations: 353.9 kB / 300 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.1297, allocations: 0.6154 MB / 300.6 MB, free: 1.074 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.1311, allocations: 0.9233 MB / 301.6 MB, free: 20 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1033/0.2344, allocations: 1.639 MB / 303.2 MB, free: 56.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.2344, allocations: 5.25 kB / 303.2 MB, free: 56.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003894/0.2383, allocations: 2.187 MB / 305.4 MB, free: 55.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.2383, allocations: 10.2 kB / 305.4 MB, free: 55.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.2383, allocations: 11.62 kB / 305.4 MB, free: 55.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.2397, allocations: 0.5035 MB / 305.9 MB, free: 55.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/0.2406, allocations: 267.3 kB / 306.2 MB, free: 55.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00547/0.2461, allocations: 6.601 MB / 312.8 MB, free: 50.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.2471, allocations: 86.2 kB / 312.9 MB, free: 50.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/0.2472, allocations: 51.42 kB / 312.9 MB, free: 50.13 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.0008715/0.2481, allocations: 0.5987 MB / 313.5 MB, free: 49.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.2484, allocations: 165.9 kB / 313.7 MB, free: 49.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.2513, allocations: 1.924 MB / 315.6 MB, free: 49.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.2513, allocations: 7.438 kB / 315.6 MB, free: 49.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2514, allocations: 11.38 kB / 315.6 MB, free: 49.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2514, allocations: 7.547 kB / 315.6 MB, free: 49.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00525/0.2566, allocations: 3.665 MB / 319.3 MB, free: 47.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.2566, allocations: 6.453 kB / 319.3 MB, free: 47.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.2573, allocations: 184.5 kB / 319.5 MB, free: 47.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.2586, allocations: 0.5473 MB / 320 MB, free: 46.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.051e-05/0.2586, allocations: 35.86 kB / 320.1 MB, free: 46.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005591/0.2642, allocations: 8.083 MB / 328.1 MB, free: 38.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.2642, allocations: 11.88 kB / 328.2 MB, free: 38.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/0.2681, allocations: 2.886 MB / 331 MB, free: 35.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/0.2687, allocations: 257 kB / 331.3 MB, free: 35.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/0.2689, allocations: 35.92 kB / 331.3 MB, free: 35.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/0.2697, allocations: 71.92 kB / 331.4 MB, free: 35.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.2699, allocations: 100.7 kB / 331.5 MB, free: 35.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/0.27, allocations: 35.98 kB / 331.5 MB, free: 35.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009533/0.2709, allocations: 0.7254 MB / 332.3 MB, free: 34.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2709, allocations: 0 / 332.3 MB, free: 34.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00145/0.2724, allocations: 409.9 kB / 332.7 MB, free: 33.91 MB / 282.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%), (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.0003367/0.2727, allocations: 182.8 kB / 332.8 MB, free: 33.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.2755, allocations: 1.943 MB / 334.8 MB, free: 31.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2755, allocations: 0 / 334.8 MB, free: 31.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.2772, allocations: 1.369 MB / 336.2 MB, free: 30.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.2787, allocations: 339.3 kB / 336.5 MB, free: 30.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.2837, allocations: 3.845 MB / 340.3 MB, free: 26.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009656/0.2847, allocations: 1.054 MB / 341.4 MB, free: 24.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006804/0.2854, allocations: 278.7 kB / 341.7 MB, free: 24.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.2856, allocations: 96.47 kB / 341.7 MB, free: 24.62 MB / 282.7 MB Notification: Performance of SimCode: time 1.001e-06/0.2856, allocations: 0 / 341.7 MB, free: 24.62 MB / 282.7 MB Notification: Performance of Templates: time 0.02922/0.3148, allocations: 21.12 MB / 362.9 MB, free: 3.52 MB / 282.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=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/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","/var/lib/jenkins/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: 5.476933176047169]