Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 103.9 kB / 17.58 MB, free: 5.422 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.001213/0.001214, allocations: 192.2 kB / 18.51 MB, free: 4.508 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.714/1.714, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001573/0.001573, allocations: 55.92 kB / 280.7 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1277, allocations: 46.63 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01292/0.1407, allocations: 9.642 MB / 336.9 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007582/0.1483, allocations: 3.066 MB / 340 MB, free: 7.695 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.1507, allocations: 39.81 kB / 340 MB, free: 7.656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.1532, allocations: 0.6248 MB / 340.7 MB, free: 7.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003404/0.1566, allocations: 0.7413 MB / 341.4 MB, free: 6.281 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.1581, allocations: 379.5 kB / 341.8 MB, free: 5.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003801/0.1619, allocations: 2.452 MB / 344.2 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002746/0.1646, allocations: 1.715 MB / 345.9 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.1666, allocations: 1.071 MB / 347 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.169, allocations: 1.315 MB / 348.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008624/0.1699, allocations: 280 kB / 348.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.1713, allocations: 367.8 kB / 349 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.1725, allocations: 0.7713 MB / 349.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.1746, allocations: 1.276 MB / 351 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.1777, allocations: 3.606 MB / 354.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1777, allocations: 0 / 354.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1777, allocations: 0 / 354.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.537e-05/0.1778, allocations: 0 / 354.6 MB, free: 8.988 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004558/0.1823, allocations: 2.579 MB / 357.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.1824, allocations: 12.03 kB / 357.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006891/0.1831, allocations: 266.1 kB / 357.5 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.185, allocations: 1.256 MB / 358.7 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.1851, allocations: 144.1 kB / 358.9 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/0.1854, allocations: 200 kB / 359.1 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003531/0.1889, allocations: 2.411 MB / 361.5 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/0.189, allocations: 15.88 kB / 361.5 MB, free: 1.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.1892, allocations: 76 kB / 361.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.279e-05/0.1893, allocations: 87.69 kB / 361.6 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/0.1923, allocations: 1.966 MB / 363.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.2037, allocations: 7.855 MB / 371.5 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.2055, allocations: 1.227 MB / 372.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.2072, allocations: 0.9372 MB / 373.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.2075, allocations: 122.1 kB / 373.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.2075, allocations: 47.55 kB / 373.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.066e-06/0.2076, allocations: 4 kB / 373.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.2484/0.456, allocations: 5.863 MB / 379.7 MB, free: 51.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4561, allocations: 63.66 kB / 379.7 MB, free: 51.46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/0.4586, allocations: 1.304 MB / 381 MB, free: 51.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.4589, allocations: 47.89 kB / 381.1 MB, free: 51.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007175/0.4596, allocations: 0.923 MB / 382 MB, free: 50.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.4599, allocations: 390.8 kB / 382.4 MB, free: 50.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004094/0.4604, allocations: 252.1 kB / 382.6 MB, free: 50.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4605, allocations: 357.6 kB / 383 MB, free: 50.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.4616, allocations: 0.6368 MB / 383.6 MB, free: 49.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.4628, allocations: 1.006 MB / 384.6 MB, free: 49.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.4651, allocations: 1.729 MB / 386.3 MB, free: 48.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.4651, allocations: 2.75 kB / 386.3 MB, free: 48.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004032/0.4691, allocations: 2.249 MB / 388.6 MB, free: 47.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.4692, allocations: 9.875 kB / 388.6 MB, free: 47.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/0.4692, allocations: 10.81 kB / 388.6 MB, free: 47.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/0.4708, allocations: 496.6 kB / 389.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.472, allocations: 307.1 kB / 389.4 MB, free: 47.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/0.4783, allocations: 7.133 MB / 396.5 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.4796, allocations: 82.53 kB / 396.6 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4798, allocations: 54.94 kB / 396.7 MB, free: 41.52 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001117/0.4809, allocations: 0.6146 MB / 397.3 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.4812, allocations: 143.9 kB / 397.4 MB, free: 41.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/0.4842, allocations: 1.968 MB / 399.4 MB, free: 40.28 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.4843, allocations: 11.88 kB / 399.4 MB, free: 40.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4843, allocations: 7.875 kB / 399.4 MB, free: 40.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.4843, allocations: 7.453 kB / 399.4 MB, free: 40.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005578/0.4899, allocations: 4.135 MB / 403.6 MB, free: 38.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4899, allocations: 0 / 403.6 MB, free: 38.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/0.4906, allocations: 181.5 kB / 403.7 MB, free: 38.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.4918, allocations: 0.5383 MB / 404.3 MB, free: 37.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/0.4919, allocations: 30.48 kB / 404.3 MB, free: 37.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00598/0.4979, allocations: 8.768 MB / 413.1 MB, free: 29.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4979, allocations: 11.8 kB / 413.1 MB, free: 29.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/0.5015, allocations: 2.842 MB / 415.9 MB, free: 26.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.5022, allocations: 359.2 kB / 416.3 MB, free: 25.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.5024, allocations: 28.09 kB / 416.3 MB, free: 25.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.5031, allocations: 67.86 kB / 416.4 MB, free: 25.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.5033, allocations: 92.81 kB / 416.5 MB, free: 25.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.5034, allocations: 31.98 kB / 416.5 MB, free: 25.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001077/0.5045, allocations: 0.8917 MB / 417.4 MB, free: 24.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5045, allocations: 0 / 417.4 MB, free: 24.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001454/0.5059, allocations: 438.8 kB / 417.8 MB, free: 24.43 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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,1,100.0%), (2,8,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.0003226/0.5063, allocations: 184.1 kB / 418 MB, free: 24.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003561/0.5098, allocations: 2.573 MB / 420.6 MB, free: 21.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5099, allocations: 0 / 420.6 MB, free: 21.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.5117, allocations: 1.498 MB / 422.1 MB, free: 20.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.5137, allocations: 413.5 kB / 422.5 MB, free: 19.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006296/0.52, allocations: 4.146 MB / 426.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009175/0.5209, allocations: 1.649 MB / 428.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009507/0.5219, allocations: 320.8 kB / 428.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.5221, allocations: 103.4 kB / 428.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of SimCode: time 1.472e-06/0.5222, allocations: 0 / 428.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of Templates: time 0.03972/0.5619, allocations: 23.71 MB / 452.4 MB, free: 5.652 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches