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.001592/0.001592, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001329/0.001329, allocations: 161.2 kB / 25.6 MB, free: 8.895 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 0.9959/0.9959, allocations: 158.6 MB / 187.5 MB, free: 2.809 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.493e-06/1.493e-06, allocations: 0 / 251.5 MB, free: 7.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.939e-05, allocations: 2.312 kB / 251.5 MB, free: 7.328 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01872/0.01873, allocations: 8.549 MB / 260 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004201/0.02294, allocations: 2.825 MB / 262.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005107/0.02345, allocations: 47.62 kB / 262.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.02445, allocations: 0.6054 MB / 263.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.02561, allocations: 0.7644 MB / 264.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.02602, allocations: 339.3 kB / 264.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.02778, allocations: 2.31 MB / 266.9 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008627/0.02864, allocations: 0.9612 MB / 267.9 MB, free: 6.805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.03012, allocations: 1.676 MB / 269.6 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.03113, allocations: 1.161 MB / 270.7 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002452/0.03138, allocations: 260 kB / 271 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.03183, allocations: 355.7 kB / 271.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004842/0.03232, allocations: 0.7673 MB / 272.1 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005978/0.03292, allocations: 0.8146 MB / 272.9 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.03453, allocations: 1.912 MB / 274.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.03454, allocations: 0 / 274.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.03454, allocations: 0 / 274.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.03456, allocations: 0 / 274.8 MB, free: 15.85 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.002536/0.0371, allocations: 2.501 MB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.03715, allocations: 11.98 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005417/0.03769, allocations: 415.4 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.03875, allocations: 1.054 MB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.03883, allocations: 135.9 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.039, allocations: 180.3 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.0408, allocations: 1.372 MB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.04084, allocations: 11.89 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.04094, allocations: 71.98 kB / 280.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.37e-05/0.04102, allocations: 95.5 kB / 280.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007289/0.04175, allocations: 0.5256 MB / 281.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/0.04691, allocations: 5.699 MB / 286.9 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.04753, allocations: 0.5353 MB / 287.4 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000931/0.04846, allocations: 425.4 kB / 287.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.04859, allocations: 44.92 kB / 287.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.04862, allocations: 46.39 kB / 287.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.675e-06/0.04862, allocations: 0 / 287.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003615/0.05224, allocations: 2.39 MB / 290.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.05227, allocations: 68.34 kB / 290.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/0.05296, allocations: 0.9562 MB / 291.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.05301, allocations: 45.7 kB / 291.4 MB, free: 14.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/0.05347, allocations: 0.967 MB / 292.3 MB, free: 13.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.05368, allocations: 396.6 kB / 292.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.05391, allocations: 228.4 kB / 292.9 MB, free: 13.24 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.05407, allocations: 0.5354 MB / 293.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.05427, allocations: 150.5 kB / 293.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.05467, allocations: 0.5903 MB / 294.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.05569, allocations: 0.8536 MB / 295.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.05569, allocations: 11.88 kB / 295.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001308/0.057, allocations: 1.093 MB / 296.2 MB, free: 9.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.05702, allocations: 12 kB / 296.2 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.05703, allocations: 8 kB / 296.2 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005474/0.05758, allocations: 270.4 kB / 296.5 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.05806, allocations: 231.6 kB / 296.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.06175, allocations: 6.39 MB / 303.1 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.06213, allocations: 39.98 kB / 303.1 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.06217, allocations: 36 kB / 303.1 MB, free: 2.293 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.0003378/0.06251, allocations: 236.2 kB / 303.4 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.0627, allocations: 171.1 kB / 303.5 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.06385, allocations: 0.9266 MB / 304.5 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.06386, allocations: 12 kB / 304.5 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.06387, allocations: 8 kB / 304.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.06387, allocations: 3.984 kB / 304.5 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.06681, allocations: 2.651 MB / 307.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.06681, allocations: 4 kB / 307.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.06715, allocations: 155.7 kB / 307.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005707/0.06772, allocations: 311.8 kB / 307.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.06777, allocations: 27.98 kB / 307.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004007/0.07178, allocations: 8.145 MB / 315.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.07178, allocations: 4 kB / 315.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.07351, allocations: 1.427 MB / 317.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.07378, allocations: 215 kB / 317.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.07387, allocations: 27.92 kB / 317.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.07416, allocations: 47.98 kB / 317.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.07429, allocations: 96.7 kB / 317.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.07433, allocations: 27.98 kB / 317.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004026/0.07473, allocations: 0.5416 MB / 318.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.07473, allocations: 0 / 318.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009899/0.07572, allocations: 399.9 kB / 318.5 MB, free: 2.129 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.0002721/0.076, allocations: 182.9 kB / 318.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.07723, allocations: 1.304 MB / 320 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.07723, allocations: 3.984 kB / 320 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.07802, allocations: 1.151 MB / 321.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008128/0.07883, allocations: 336.8 kB / 321.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.08261, allocations: 3.315 MB / 324.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.08297, allocations: 499.5 kB / 325.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003321/0.0833, allocations: 162.8 kB / 325.5 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.08378, allocations: 386 kB / 325.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of SimCode: time 4.929e-06/0.08379, allocations: 0 / 325.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of Templates: time 0.02674/0.1105, allocations: 21.9 MB / 347.7 MB, free: 4.617 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.5697916382923722]