Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 94.58 kB / 16.95 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 185.9 kB / 17.84 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 224 MB, free: 13.09 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007257/0.0007258, allocations: 12 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1571, allocations: 47.58 MB / 328.4 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.009488/0.1667, allocations: 7.822 MB / 336.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0067/0.1734, allocations: 2.737 MB / 338.9 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.1748, allocations: 35.81 kB / 339 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.1765, allocations: 493.1 kB / 339.4 MB, free: 8.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.1787, allocations: 0.6216 MB / 340.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007464/0.1794, allocations: 211.6 kB / 340.3 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003235/0.1827, allocations: 2.482 MB / 342.7 MB, free: 5.621 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.1845, allocations: 1.2 MB / 343.9 MB, free: 4.387 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.1863, allocations: 0.8093 MB / 344.8 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.1885, allocations: 1.125 MB / 345.9 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.1888, allocations: 127.9 kB / 346 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.1894, allocations: 187.9 kB / 346.2 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000694/0.1901, allocations: 0.623 MB / 346.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007333/0.1909, allocations: 448.6 kB / 347.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.1941, allocations: 2.965 MB / 350.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.1941, allocations: 0 / 350.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1941, allocations: 0 / 350.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001086/0.1942, allocations: 0 / 350.2 MB, free: 14.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005259/0.1995, allocations: 2.209 MB / 352.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1995, allocations: 8.031 kB / 352.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009435/0.2005, allocations: 265.1 kB / 352.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/0.203, allocations: 1.256 MB / 353.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.2031, allocations: 139.6 kB / 354.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.2034, allocations: 175.9 kB / 354.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005058/0.2085, allocations: 2.406 MB / 356.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.045e-05/0.2086, allocations: 0 / 356.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.2088, allocations: 75.98 kB / 356.7 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.2089, allocations: 99.36 kB / 356.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004115/0.213, allocations: 2.02 MB / 358.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01649/0.2295, allocations: 7.491 MB / 366.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.2319, allocations: 1.283 MB / 367.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.2337, allocations: 0.9081 MB / 368.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.234, allocations: 126.1 kB / 368.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.772e-05/0.2341, allocations: 43.56 kB / 368.7 MB, free: 11.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 7.925e-06/0.2341, allocations: 0 / 368.7 MB, free: 11.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.01182/0.2459, allocations: 5.033 MB / 373.7 MB, free: 6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.2461, allocations: 64.41 kB / 373.8 MB, free: 5.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.249, allocations: 1.369 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002452/0.2493, allocations: 41.7 kB / 375.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009915/0.2503, allocations: 0.9008 MB / 376.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005114/0.2508, allocations: 343 kB / 376.4 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.2509, allocations: 28 kB / 376.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.2512, allocations: 353.9 kB / 376.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.2524, allocations: 0.635 MB / 377.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.2538, allocations: 0.922 MB / 378.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.2551, allocations: 0.7681 MB / 379.1 MB, free: 432 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.2551, allocations: 4 kB / 379.1 MB, free: 428 kB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.2614/0.5165, allocations: 2.389 MB / 381.5 MB, free: 50.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.5167, allocations: 9.219 kB / 381.5 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.264e-05/0.5167, allocations: 8.594 kB / 381.6 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/0.5194, allocations: 0.7104 MB / 382.3 MB, free: 50.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.5207, allocations: 243 kB / 382.5 MB, free: 50.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.5337, allocations: 7.996 MB / 390.5 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.5353, allocations: 82.61 kB / 390.6 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.5355, allocations: 49.09 kB / 390.6 MB, free: 45.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001568/0.5371, allocations: 0.6279 MB / 391.3 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/0.5376, allocations: 144.3 kB / 391.4 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/0.5411, allocations: 1.912 MB / 393.3 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.5411, allocations: 11.75 kB / 393.3 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.5411, allocations: 0 / 393.3 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.5411, allocations: 7.547 kB / 393.3 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007129/0.5483, allocations: 4.032 MB / 397.4 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.5483, allocations: 0 / 397.4 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/0.5491, allocations: 185.8 kB / 397.5 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.5502, allocations: 463.6 kB / 398 MB, free: 42.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.558e-05/0.5503, allocations: 23.86 kB / 398 MB, free: 42.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004726/0.555, allocations: 6.155 MB / 404.2 MB, free: 37.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.555, allocations: 7.906 kB / 404.2 MB, free: 37.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003892/0.5589, allocations: 2.785 MB / 407 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008784/0.5599, allocations: 362.5 kB / 407.3 MB, free: 34.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.5601, allocations: 28 kB / 407.3 MB, free: 34.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007022/0.5608, allocations: 75.91 kB / 407.4 MB, free: 34.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/0.5611, allocations: 76.89 kB / 407.5 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.5611, allocations: 31.98 kB / 407.5 MB, free: 34.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001289/0.5624, allocations: 0.9464 MB / 408.5 MB, free: 33.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5624, allocations: 0 / 408.5 MB, free: 33.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001743/0.5642, allocations: 438.6 kB / 408.9 MB, free: 33.19 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003313/0.5645, allocations: 147.5 kB / 409 MB, free: 33.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00315/0.5677, allocations: 2.013 MB / 411.1 MB, free: 31.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.5677, allocations: 0 / 411.1 MB, free: 31.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.5695, allocations: 1.348 MB / 412.4 MB, free: 29.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.5717, allocations: 364.7 kB / 412.8 MB, free: 29.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006883/0.5786, allocations: 4.769 MB / 417.5 MB, free: 24.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.58, allocations: 1.689 MB / 419.2 MB, free: 22.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001325/0.5814, allocations: 312 kB / 419.5 MB, free: 22.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.5817, allocations: 91.42 kB / 419.6 MB, free: 22.32 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5817, allocations: 4 kB / 419.6 MB, free: 22.32 MB / 318.1 MB Notification: Performance of Templates: time 0.03974/0.6214, allocations: 22.11 MB / 441.7 MB, free: 204 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches