Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001416, allocations: 109.3 kB / 18.37 MB, free: 4.766 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.001561/0.001562, allocations: 187 kB / 19.3 MB, free: 3.844 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.425/1.425, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001289/0.001289, allocations: 47.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09381, allocations: 46.63 MB / 328.8 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01008/0.1039, allocations: 9.333 MB / 338.1 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005527/0.1095, allocations: 3.035 MB / 341.1 MB, free: 7.328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.1107, allocations: 39.81 kB / 341.2 MB, free: 7.289 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.1122, allocations: 0.621 MB / 341.8 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.1143, allocations: 0.7688 MB / 342.5 MB, free: 5.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008032/0.1152, allocations: 363.5 kB / 342.9 MB, free: 5.535 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002936/0.1181, allocations: 2.7 MB / 345.6 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.1201, allocations: 1.896 MB / 347.5 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.1217, allocations: 1.184 MB / 348.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.1237, allocations: 1.491 MB / 350.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004317/0.1242, allocations: 308 kB / 350.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.125, allocations: 399.8 kB / 350.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008551/0.1258, allocations: 0.8882 MB / 351.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.1273, allocations: 1.408 MB / 353.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003835/0.1312, allocations: 4.077 MB / 357.2 MB, free: 7.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.1312, allocations: 3.984 kB / 357.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1312, allocations: 3.938 kB / 357.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.008e-05/0.1313, allocations: 0 / 357.2 MB, free: 7.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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005574/0.1369, allocations: 2.845 MB / 360.1 MB, free: 4.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.137, allocations: 8.031 kB / 360.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000689/0.1377, allocations: 289.7 kB / 360.4 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.1399, allocations: 1.442 MB / 361.8 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.14, allocations: 156.4 kB / 362 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/0.1403, allocations: 204 kB / 362.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004229/0.1446, allocations: 2.736 MB / 364.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-05/0.1446, allocations: 11.94 kB / 364.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.1448, allocations: 84 kB / 365 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.1449, allocations: 95.92 kB / 365.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003524/0.1485, allocations: 2.322 MB / 367.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01172/0.1602, allocations: 8.317 MB / 375.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.1623, allocations: 1.765 MB / 377.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.164, allocations: 1.065 MB / 378.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.1642, allocations: 122.1 kB / 378.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.1643, allocations: 47.5 kB / 378.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.527e-06/0.1643, allocations: 0 / 378.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.1693/0.3336, allocations: 6.287 MB / 385 MB, free: 50.47 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.3337, allocations: 65.53 kB / 385.1 MB, free: 50.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.3363, allocations: 1.514 MB / 386.6 MB, free: 49.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.3365, allocations: 49.73 kB / 386.6 MB, free: 49.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007089/0.3372, allocations: 0.9924 MB / 387.6 MB, free: 49.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003642/0.3376, allocations: 415 kB / 388 MB, free: 48.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004439/0.3381, allocations: 251.1 kB / 388.3 MB, free: 48.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3382, allocations: 365.2 kB / 388.6 MB, free: 48.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.3394, allocations: 0.7296 MB / 389.4 MB, free: 48.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.3408, allocations: 1.058 MB / 390.4 MB, free: 47.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/0.3432, allocations: 1.878 MB / 392.3 MB, free: 46.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.3432, allocations: 7.328 kB / 392.3 MB, free: 46.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003841/0.3471, allocations: 2.34 MB / 394.7 MB, free: 45.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.3471, allocations: 9.969 kB / 394.7 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.3471, allocations: 17.56 kB / 394.7 MB, free: 45.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009205/0.3481, allocations: 415.1 kB / 395.1 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.3493, allocations: 328.1 kB / 395.4 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/0.3532, allocations: 5.055 MB / 400.5 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.355, allocations: 88.88 kB / 400.6 MB, free: 41.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.3552, allocations: 57.73 kB / 400.6 MB, free: 41.4 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001556/0.3568, allocations: 0.7058 MB / 401.3 MB, free: 40.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.3572, allocations: 166.3 kB / 401.5 MB, free: 40.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.3602, allocations: 2.129 MB / 403.6 MB, free: 39.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3602, allocations: 3.984 kB / 403.6 MB, free: 39.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3603, allocations: 7.922 kB / 403.6 MB, free: 39.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/0.3609, allocations: 410.3 kB / 404 MB, free: 39.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.3611, allocations: 23.47 kB / 404 MB, free: 39.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007547/0.3619, allocations: 89.92 kB / 404.1 MB, free: 39.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.3621, allocations: 103 kB / 404.2 MB, free: 39.21 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003709/0.3658, allocations: 2.263 MB / 406.5 MB, free: 37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003144/0.3689, allocations: 2.889 MB / 409.4 MB, free: 34.09 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008601/0.3698, allocations: 0.812 MB / 410.2 MB, free: 33.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001304/0.3711, allocations: 1.048 MB / 411.2 MB, free: 32.23 MB / 318.1 MB Notification: Performance of Backend: time 5.81e-07/0.3711, allocations: 3.938 kB / 411.2 MB, free: 32.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.3743, allocations: 1.749 MB / 413 MB, free: 30.41 MB / 318.1 MB Notification: Performance of SimCode: time 0.006223/0.3805, allocations: 4.698 MB / 417.7 MB, free: 25.7 MB / 318.1 MB Notification: Performance of Templates: time 0.03851/0.4191, allocations: 27.39 MB / 445.1 MB, free: 14.31 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_DOL/AIMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches