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.001717/0.001717, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.00227/0.00227, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001164/0.001165, allocations: 55.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.111, allocations: 46.62 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01082/0.1219, allocations: 8.816 MB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006294/0.1283, allocations: 2.891 MB / 338.3 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.1301, allocations: 31.88 kB / 338.3 MB, free: 9.105 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.1324, allocations: 0.5364 MB / 338.9 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00311/0.1356, allocations: 0.6567 MB / 339.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009866/0.1366, allocations: 291.7 kB / 339.8 MB, free: 7.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003474/0.1401, allocations: 2.775 MB / 342.6 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.1421, allocations: 1.402 MB / 344 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.1438, allocations: 0.9222 MB / 344.9 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.1463, allocations: 1.292 MB / 346.2 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000541/0.1469, allocations: 172 kB / 346.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.148, allocations: 275.8 kB / 346.6 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007869/0.1488, allocations: 0.6853 MB / 347.3 MB, free: 40 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.1505, allocations: 1.143 MB / 348.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003984/0.1545, allocations: 3.559 MB / 352 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.42e-05/0.1545, allocations: 4 kB / 352 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1545, allocations: 0 / 352 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001082/0.1546, allocations: 0 / 352 MB, free: 11.32 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.007023/0.1617, allocations: 2.571 MB / 354.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.1618, allocations: 8.031 kB / 354.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009391/0.1627, allocations: 258.1 kB / 354.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.1651, allocations: 1.303 MB / 356.2 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.74e-05/0.1652, allocations: 132 kB / 356.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.1656, allocations: 200 kB / 356.5 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004531/0.1701, allocations: 2.398 MB / 358.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.215e-05/0.1702, allocations: 4 kB / 358.9 MB, free: 4.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.1704, allocations: 79.94 kB / 359 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.1705, allocations: 91.42 kB / 359.1 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003581/0.1741, allocations: 2.012 MB / 361.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.1867, allocations: 7.456 MB / 368.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.1886, allocations: 1.272 MB / 369.8 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.1902, allocations: 0.9081 MB / 370.7 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.1905, allocations: 118.1 kB / 370.8 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.1905, allocations: 43.56 kB / 370.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.514e-06/0.1905, allocations: 7.875 kB / 370.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009764/0.2003, allocations: 5.009 MB / 375.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2004, allocations: 60.41 kB / 375.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.2025, allocations: 1.38 MB / 377.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.2027, allocations: 41.7 kB / 377.4 MB, free: 1.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007187/0.2034, allocations: 0.9008 MB / 378.3 MB, free: 484 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.2037, allocations: 346.9 kB / 378.6 MB, free: 132 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2709/0.4747, allocations: 214.2 kB / 378.8 MB, free: 51.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.4749, allocations: 353.9 kB / 379.2 MB, free: 51.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.4769, allocations: 0.6318 MB / 379.8 MB, free: 51.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002771/0.4797, allocations: 0.9212 MB / 380.7 MB, free: 51.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005004/0.4848, allocations: 1.652 MB / 382.4 MB, free: 50.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.49e-05/0.4848, allocations: 3.938 kB / 382.4 MB, free: 50.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00815/0.493, allocations: 2.379 MB / 384.7 MB, free: 49.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/0.4931, allocations: 8.469 kB / 384.8 MB, free: 49.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.042e-05/0.4932, allocations: 10.97 kB / 384.8 MB, free: 49.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003153/0.4963, allocations: 0.7121 MB / 385.5 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.4981, allocations: 242.7 kB / 385.7 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/0.5142, allocations: 8.022 MB / 393.7 MB, free: 44.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.5164, allocations: 83.36 kB / 393.8 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.5167, allocations: 45.38 kB / 393.9 MB, free: 44.78 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002023/0.5187, allocations: 0.6236 MB / 394.5 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006755/0.5194, allocations: 143 kB / 394.6 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/0.5237, allocations: 1.894 MB / 396.5 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.5237, allocations: 15.52 kB / 396.5 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.5238, allocations: 3.969 kB / 396.5 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.5238, allocations: 3.656 kB / 396.5 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008051/0.5318, allocations: 4.016 MB / 400.6 MB, free: 41.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.5319, allocations: 3.625 kB / 400.6 MB, free: 41.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/0.5327, allocations: 176.4 kB / 400.7 MB, free: 41.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.534, allocations: 473.9 kB / 401.2 MB, free: 41.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.5341, allocations: 27.55 kB / 401.2 MB, free: 41.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00562/0.5397, allocations: 6.156 MB / 407.4 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.5398, allocations: 3.938 kB / 407.4 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/0.545, allocations: 2.768 MB / 410.2 MB, free: 32.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.5466, allocations: 359.2 kB / 410.5 MB, free: 31.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008055/0.5474, allocations: 27.98 kB / 410.5 MB, free: 31.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.5489, allocations: 71.92 kB / 410.6 MB, free: 31.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/0.5492, allocations: 87.5 kB / 410.7 MB, free: 31.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.5494, allocations: 32.06 kB / 410.7 MB, free: 31.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001752/0.5512, allocations: 0.9582 MB / 411.7 MB, free: 30.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5512, allocations: 1.5 kB / 411.7 MB, free: 30.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002246/0.5534, allocations: 435.5 kB / 412.1 MB, free: 30.2 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 (not torn): 1 * 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): 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): 3 systems {(2,12,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.0005676/0.554, allocations: 182.6 kB / 412.3 MB, free: 30.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003674/0.5577, allocations: 1.993 MB / 414.3 MB, free: 28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.5577, allocations: 0 / 414.3 MB, free: 28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.5596, allocations: 1.339 MB / 415.6 MB, free: 26.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.5621, allocations: 355.9 kB / 416 MB, free: 26.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008378/0.5705, allocations: 4.85 MB / 420.8 MB, free: 21.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.5719, allocations: 1.693 MB / 422.5 MB, free: 19.67 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001328/0.5733, allocations: 314.8 kB / 422.8 MB, free: 19.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.5736, allocations: 95.42 kB / 422.9 MB, free: 19.27 MB / 318.1 MB Notification: Performance of SimCode: time 1.834e-06/0.5736, allocations: 4 kB / 422.9 MB, free: 19.27 MB / 318.1 MB Notification: Performance of Templates: time 0.04407/0.6177, allocations: 23.12 MB / 446 MB, free: 12.13 MB / 334.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