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.002217/0.002217, allocations: 99.53 kB / 21.73 MB, free: 2.684 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.00292/0.00292, allocations: 167.3 kB / 25.03 MB, free: 8.41 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.379/1.379, 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 1.603e-06/1.603e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.759e-05/4.919e-05, allocations: 2.312 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01333/0.01338, allocations: 8.69 MB / 259.1 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006658/0.02004, allocations: 2.833 MB / 261.9 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.02143, allocations: 51.62 kB / 262 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.02329, allocations: 0.5898 MB / 262.5 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003758/0.02704, allocations: 0.7684 MB / 263.3 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.02839, allocations: 331.4 kB / 263.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004623/0.03302, allocations: 2.322 MB / 266 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002228/0.03525, allocations: 0.9689 MB / 266.9 MB, free: 7.148 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.03854, allocations: 1.516 MB / 268.4 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.04167, allocations: 1.208 MB / 269.7 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007325/0.04241, allocations: 268 kB / 269.9 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.04377, allocations: 359.8 kB / 270.3 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.04511, allocations: 0.8063 MB / 271.1 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.04678, allocations: 0.838 MB / 271.9 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006354/0.05313, allocations: 3.603 MB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.05314, allocations: 0 / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.05314, allocations: 4 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.488e-05/0.05322, allocations: 0 / 275.5 MB, free: 14.54 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.006618/0.05983, allocations: 2.787 MB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.05989, allocations: 11.98 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009878/0.06088, allocations: 407.5 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.06335, allocations: 1.15 MB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.06349, allocations: 131.9 kB / 280 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003155/0.0638, allocations: 184.3 kB / 280.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004203/0.06801, allocations: 2.259 MB / 282.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.218e-05/0.06807, allocations: 11.92 kB / 282.4 MB, free: 7.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.06825, allocations: 72 kB / 282.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/0.06837, allocations: 91.5 kB / 282.6 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003182/0.07155, allocations: 1.427 MB / 284 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.08702, allocations: 8.27 MB / 292.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.08861, allocations: 0.6925 MB / 293 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.09006, allocations: 0.5755 MB / 293.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.0903, allocations: 44.97 kB / 293.6 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.09035, allocations: 50.38 kB / 293.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 3.005e-06/0.09035, allocations: 0 / 293.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.01023/0.1006, allocations: 3.423 MB / 297.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.1006, allocations: 64.41 kB / 297.1 MB, free: 8.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.1029, allocations: 1.304 MB / 298.4 MB, free: 6.945 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004718/0.1034, allocations: 41.7 kB / 298.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.1044, allocations: 1.026 MB / 299.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/0.1049, allocations: 412.8 kB / 299.9 MB, free: 5.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004707/0.1054, allocations: 268.5 kB / 300.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003934/0.1058, allocations: 0.5707 MB / 300.8 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007594/0.1065, allocations: 318.4 kB / 301.1 MB, free: 4.293 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.1078, allocations: 0.7895 MB / 301.9 MB, free: 3.328 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.1099, allocations: 1.232 MB / 303.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.1099, allocations: 4 kB / 303.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003563/0.1135, allocations: 1.452 MB / 304.5 MB, free: 448 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.1135, allocations: 8 kB / 304.5 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.1136, allocations: 15.98 kB / 304.6 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.1147, allocations: 298.4 kB / 304.9 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.1157, allocations: 259.6 kB / 305.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007767/0.1235, allocations: 6.819 MB / 311.9 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.1246, allocations: 75.92 kB / 312 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.1248, allocations: 51.98 kB / 312.1 MB, free: 8.543 MB / 298.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.001304/0.1261, allocations: 0.5078 MB / 312.6 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/0.1265, allocations: 171.1 kB / 312.7 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/0.1296, allocations: 1.196 MB / 313.9 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.1296, allocations: 12 kB / 313.9 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.1296, allocations: 4 kB / 313.9 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.1296, allocations: 7.984 kB / 313.9 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008756/0.1384, allocations: 3.437 MB / 317.4 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.1384, allocations: 4 kB / 317.4 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.1396, allocations: 175.6 kB / 317.6 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002113/0.1417, allocations: 346.1 kB / 317.9 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.1419, allocations: 31.98 kB / 317.9 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.1554, allocations: 8.614 MB / 326.5 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.1554, allocations: 8 kB / 326.5 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006422/0.1618, allocations: 1.862 MB / 328.4 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.1631, allocations: 247 kB / 328.7 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/0.1634, allocations: 28 kB / 328.7 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.1645, allocations: 71.86 kB / 328.7 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003883/0.1649, allocations: 100.8 kB / 328.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.1651, allocations: 39.92 kB / 328.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001981/0.1671, allocations: 0.7761 MB / 329.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1671, allocations: 0 / 329.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002761/0.1698, allocations: 404 kB / 330.1 MB, free: 5.73 MB / 314.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.000641/0.1705, allocations: 182.9 kB / 330.2 MB, free: 5.539 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004971/0.1754, allocations: 1.651 MB / 331.9 MB, free: 3.832 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.1754, allocations: 3.938 kB / 331.9 MB, free: 3.828 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003492/0.1789, allocations: 1.37 MB / 333.3 MB, free: 2.379 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/0.1818, allocations: 349.1 kB / 333.6 MB, free: 2.043 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009957/0.1917, allocations: 3.491 MB / 337.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.1936, allocations: 0.9873 MB / 338.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00138/0.195, allocations: 230.7 kB / 338.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.1954, allocations: 92.48 kB / 338.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1954, allocations: 0 / 338.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of Templates: time 0.1622/0.3576, allocations: 21.16 MB / 359.6 MB, free: 93.67 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","/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.563372250995599]