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.0008921/0.0008921, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.004859/0.004859, allocations: 159.6 kB / 25.32 MB, free: 9.078 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.914/0.914, allocations: 158.6 MB / 187.2 MB, free: 2.891 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.152e-06/1.152e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.91e-05, allocations: 2.312 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.007536/0.007555, allocations: 8.774 MB / 259.8 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004424/0.01198, allocations: 2.833 MB / 262.7 MB, free: 7.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000861/0.01284, allocations: 51.62 kB / 262.7 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.01404, allocations: 0.6018 MB / 263.3 MB, free: 7.258 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.01554, allocations: 0.7645 MB / 264.1 MB, free: 6.488 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.01605, allocations: 339.3 kB / 264.4 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001796/0.01784, allocations: 2.314 MB / 266.7 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009532/0.01879, allocations: 0.9728 MB / 267.7 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.02021, allocations: 1.513 MB / 269.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.02143, allocations: 1.208 MB / 270.4 MB, free: 84 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003263/0.02175, allocations: 268 kB / 270.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005303/0.02228, allocations: 359.7 kB / 271 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005309/0.02282, allocations: 0.8102 MB / 271.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007726/0.02359, allocations: 0.8419 MB / 272.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.02533, allocations: 1.943 MB / 274.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.02533, allocations: 0 / 274.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02533, allocations: 0 / 274.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.02535, allocations: 0 / 274.6 MB, free: 11.86 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.002783/0.02814, allocations: 2.615 MB / 277.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.02818, allocations: 15.98 kB / 277.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008696/0.02905, allocations: 407.4 kB / 277.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.03029, allocations: 1.12 MB / 278.8 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.03036, allocations: 131.9 kB / 278.9 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.03055, allocations: 192.3 kB / 279.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.03236, allocations: 1.482 MB / 280.6 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.0324, allocations: 11.94 kB / 280.6 MB, free: 5.758 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.0325, allocations: 75.98 kB / 280.7 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.481e-05/0.03258, allocations: 91.5 kB / 280.8 MB, free: 5.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.0338, allocations: 0.6685 MB / 281.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005814/0.03961, allocations: 5.883 MB / 287.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.0404, allocations: 0.5491 MB / 287.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.04109, allocations: 473.4 kB / 288.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.04124, allocations: 48.97 kB / 288.4 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.04127, allocations: 42.86 kB / 288.4 MB, free: 13.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 2.114e-06/0.04127, allocations: 7.938 kB / 288.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.00461/0.04588, allocations: 3.02 MB / 291.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.04592, allocations: 64.41 kB / 291.5 MB, free: 10.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.04705, allocations: 0.9764 MB / 292.5 MB, free: 9.574 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.0471, allocations: 45.7 kB / 292.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.04753, allocations: 0.9671 MB / 293.5 MB, free: 8.543 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.04773, allocations: 384.8 kB / 293.9 MB, free: 8.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.04796, allocations: 224.5 kB / 294.1 MB, free: 7.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.0481, allocations: 0.5355 MB / 294.6 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.04842, allocations: 198.5 kB / 294.8 MB, free: 7.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.04893, allocations: 0.6372 MB / 295.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008937/0.04982, allocations: 0.9474 MB / 296.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.04983, allocations: 4 kB / 296.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001554/0.05138, allocations: 1.21 MB / 297.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.0514, allocations: 11.94 kB / 297.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.05141, allocations: 8 kB / 297.6 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005772/0.05199, allocations: 274.5 kB / 297.9 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.0525, allocations: 259.6 kB / 298.2 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1125/0.165, allocations: 6.553 MB / 304.7 MB, free: 46.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.1658, allocations: 74.8 kB / 304.8 MB, free: 46.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/0.1659, allocations: 51.12 kB / 304.8 MB, free: 46.64 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.0004723/0.1663, allocations: 237.6 kB / 305.1 MB, free: 46.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.1666, allocations: 160.8 kB / 305.2 MB, free: 46.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.1682, allocations: 1.034 MB / 306.3 MB, free: 46.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.1682, allocations: 11.3 kB / 306.3 MB, free: 46.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1682, allocations: 6.344 kB / 306.3 MB, free: 46.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.1682, allocations: 6.734 kB / 306.3 MB, free: 46.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/0.1719, allocations: 2.78 MB / 309.1 MB, free: 45.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.1719, allocations: 7.906 kB / 309.1 MB, free: 45.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.1723, allocations: 175.5 kB / 309.2 MB, free: 45.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008177/0.1732, allocations: 340.6 kB / 309.6 MB, free: 45.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.1732, allocations: 31.95 kB / 309.6 MB, free: 45.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/0.1766, allocations: 8.384 MB / 318 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.1766, allocations: 7.094 kB / 318 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.1785, allocations: 1.565 MB / 319.6 MB, free: 37.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.1789, allocations: 248 kB / 319.8 MB, free: 37.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.179, allocations: 28.38 kB / 319.8 MB, free: 37.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.1794, allocations: 72.94 kB / 319.9 MB, free: 37.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.1795, allocations: 90.75 kB / 320 MB, free: 37.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.1796, allocations: 41.06 kB / 320 MB, free: 37.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006326/0.1802, allocations: 0.5877 MB / 320.6 MB, free: 37.6 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1802, allocations: 0 / 320.6 MB, free: 37.6 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001124/0.1813, allocations: 408.8 kB / 321 MB, free: 37.57 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.0002657/0.1816, allocations: 186.7 kB / 321.2 MB, free: 37.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.183, allocations: 1.424 MB / 322.6 MB, free: 36.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.183, allocations: 128 / 322.6 MB, free: 36.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009201/0.184, allocations: 1.261 MB / 323.9 MB, free: 35.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008829/0.1848, allocations: 334 kB / 324.2 MB, free: 35.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.1886, allocations: 3.369 MB / 327.6 MB, free: 33.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.1889, allocations: 497.7 kB / 328.1 MB, free: 33.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003936/0.1893, allocations: 231.9 kB / 328.3 MB, free: 33.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.1895, allocations: 91.27 kB / 328.4 MB, free: 33.69 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1895, allocations: 4 kB / 328.4 MB, free: 33.68 MB / 282.7 MB Notification: Performance of Templates: time 0.02199/0.2115, allocations: 21.19 MB / 349.6 MB, free: 13.69 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=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.6203307076357305]