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.002355/0.002354, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.002239/0.002239, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.721/1.721, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001192/0.001192, allocations: 47.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1067, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01279/0.1195, allocations: 8.862 MB / 337.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006509/0.1261, allocations: 2.906 MB / 340.5 MB, free: 7.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.1274, allocations: 39.81 kB / 340.5 MB, free: 7.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.1291, allocations: 0.6133 MB / 341.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.1313, allocations: 0.7183 MB / 341.9 MB, free: 6.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007818/0.1321, allocations: 331.5 kB / 342.2 MB, free: 6.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00284/0.135, allocations: 2.397 MB / 344.6 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.1369, allocations: 1.726 MB / 346.3 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.1383, allocations: 1.055 MB / 347.4 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.1401, allocations: 1.343 MB / 348.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003509/0.1405, allocations: 284 kB / 349 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006776/0.1412, allocations: 363.9 kB / 349.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007763/0.1419, allocations: 0.8064 MB / 350.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.1433, allocations: 1.256 MB / 351.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003605/0.1469, allocations: 3.676 MB / 355.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.1469, allocations: 4 kB / 355.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.147, allocations: 3.938 kB / 355.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.924e-05/0.147, allocations: 0 / 355.1 MB, free: 9.234 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.005282/0.1523, allocations: 2.567 MB / 357.7 MB, free: 6.609 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1524, allocations: 12.03 kB / 357.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006836/0.1531, allocations: 262 kB / 357.9 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.1554, allocations: 1.307 MB / 359.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.1555, allocations: 136 kB / 359.4 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/0.1558, allocations: 192 kB / 359.5 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/0.1597, allocations: 2.402 MB / 362 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.852e-05/0.1597, allocations: 4 kB / 362 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.1599, allocations: 76 kB / 362 MB, free: 2.141 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.84e-05/0.16, allocations: 91.48 kB / 362.1 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003268/0.1633, allocations: 2.008 MB / 364.1 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.1745, allocations: 7.381 MB / 371.5 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.1763, allocations: 1.26 MB / 372.8 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.1779, allocations: 0.9081 MB / 373.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.1782, allocations: 118 kB / 373.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.1782, allocations: 43.56 kB / 373.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.975e-06/0.1783, allocations: 0 / 373.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009751/0.188, allocations: 5.005 MB / 378.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1881, allocations: 68.28 kB / 378.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2229/0.411, allocations: 1.378 MB / 380.3 MB, free: 51.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.4113, allocations: 43.27 kB / 380.3 MB, free: 51.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006155/0.4119, allocations: 0.8948 MB / 381.2 MB, free: 51.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.4122, allocations: 354.3 kB / 381.6 MB, free: 51.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003629/0.4126, allocations: 216 kB / 381.8 MB, free: 51.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.4127, allocations: 353.1 kB / 382.1 MB, free: 51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.4138, allocations: 0.63 MB / 382.8 MB, free: 50.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.415, allocations: 0.9207 MB / 383.7 MB, free: 50.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.417, allocations: 1.648 MB / 385.3 MB, free: 49.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.4171, allocations: 3.094 kB / 385.3 MB, free: 49.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004142/0.4212, allocations: 2.39 MB / 387.7 MB, free: 48.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.4213, allocations: 9.469 kB / 387.7 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.4213, allocations: 13.38 kB / 387.7 MB, free: 48.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.4232, allocations: 0.7084 MB / 388.4 MB, free: 48.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008923/0.4241, allocations: 237.7 kB / 388.7 MB, free: 48.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009673/0.4337, allocations: 8.75 MB / 397.4 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.435, allocations: 81.02 kB / 397.5 MB, free: 43.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.051e-05/0.4351, allocations: 48.08 kB / 397.6 MB, free: 43.07 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.0009532/0.4361, allocations: 0.6241 MB / 398.2 MB, free: 42.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.4363, allocations: 148.4 kB / 398.3 MB, free: 42.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.4389, allocations: 1.89 MB / 400.2 MB, free: 41.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.4389, allocations: 11.56 kB / 400.2 MB, free: 41.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.4389, allocations: 2.781 kB / 400.2 MB, free: 41.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.4389, allocations: 9.172 kB / 400.2 MB, free: 41.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/0.4442, allocations: 4 MB / 404.2 MB, free: 39.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4442, allocations: 0 / 404.2 MB, free: 39.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007007/0.4449, allocations: 183.8 kB / 404.4 MB, free: 39.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009881/0.4459, allocations: 468 kB / 404.9 MB, free: 38.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/0.446, allocations: 30.11 kB / 404.9 MB, free: 38.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004518/0.4505, allocations: 6.696 MB / 411.6 MB, free: 31.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4505, allocations: 0 / 411.6 MB, free: 31.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.4541, allocations: 2.775 MB / 414.4 MB, free: 28.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008222/0.4549, allocations: 355.2 kB / 414.7 MB, free: 28.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.4551, allocations: 24 kB / 414.7 MB, free: 28.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007383/0.4558, allocations: 75.84 kB / 414.8 MB, free: 28.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/0.4561, allocations: 84.83 kB / 414.9 MB, free: 28.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.4561, allocations: 27.98 kB / 414.9 MB, free: 28.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001214/0.4574, allocations: 0.9543 MB / 415.9 MB, free: 27.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4574, allocations: 0 / 415.9 MB, free: 27.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001263/0.4586, allocations: 432 kB / 416.3 MB, free: 26.82 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.0003344/0.459, allocations: 177.7 kB / 416.5 MB, free: 26.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.4618, allocations: 2.005 MB / 418.5 MB, free: 24.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4618, allocations: 4.125 kB / 418.5 MB, free: 24.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.4634, allocations: 1.346 MB / 419.8 MB, free: 23.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.465, allocations: 380.6 kB / 420.2 MB, free: 22.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.4701, allocations: 4.019 MB / 424.2 MB, free: 18.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009574/0.471, allocations: 1.685 MB / 425.9 MB, free: 17.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007739/0.4718, allocations: 320 kB / 426.2 MB, free: 16.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.4721, allocations: 95.42 kB / 426.3 MB, free: 16.68 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4721, allocations: 0 / 426.3 MB, free: 16.68 MB / 318.1 MB Notification: Performance of Templates: time 0.03926/0.5113, allocations: 24.04 MB / 450.4 MB, free: 8.625 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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