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.002099/0.002099, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.003534/0.003534, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.913/1.913, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001312/0.001312, allocations: 51.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1152, allocations: 46.62 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.3543/0.4695, allocations: 9.333 MB / 384.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009904/0.4795, allocations: 3.029 MB / 387.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.4831, allocations: 41.5 kB / 387.6 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003407/0.4867, allocations: 0.6704 MB / 388.2 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006157/0.4929, allocations: 0.8089 MB / 389 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.4948, allocations: 360.7 kB / 389.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006973/0.5018, allocations: 2.682 MB / 392.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.5059, allocations: 1.903 MB / 394 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004414/0.5104, allocations: 1.193 MB / 395.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00483/0.5152, allocations: 1.492 MB / 396.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.5167, allocations: 309.3 kB / 397 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.5192, allocations: 399 kB / 397.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001496/0.5207, allocations: 0.8875 MB / 398.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005451/0.5262, allocations: 1.404 MB / 399.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.5366, allocations: 4.08 MB / 403.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.47e-05/0.5366, allocations: 0 / 403.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.709e-06/0.5367, allocations: 1.156 kB / 403.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002639/0.5369, allocations: 0 / 403.7 MB, free: 14.8 MB / 334.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.01651/0.5534, allocations: 2.847 MB / 406.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.07e-05/0.5535, allocations: 9.5 kB / 406.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.5559, allocations: 289.2 kB / 406.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005391/0.5614, allocations: 1.449 MB / 408.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.5616, allocations: 156.3 kB / 408.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008268/0.5625, allocations: 208.4 kB / 408.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00965/0.5721, allocations: 2.737 MB / 411.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.5723, allocations: 7.5 kB / 411.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.5726, allocations: 81.78 kB / 411.5 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00021/0.5728, allocations: 92.25 kB / 411.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006832/0.5797, allocations: 2.325 MB / 413.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02508/0.6048, allocations: 8.311 MB / 422.2 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.6079, allocations: 1.775 MB / 424 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002286/0.6102, allocations: 1.074 MB / 425.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.6106, allocations: 122.1 kB / 425.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.6106, allocations: 43.56 kB / 425.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 5.35e-06/0.6106, allocations: 0 / 425.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.0173/0.628, allocations: 6.312 MB / 431.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.6281, allocations: 64.41 kB / 431.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/0.6313, allocations: 1.52 MB / 433.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001815/0.6315, allocations: 45.7 kB / 433.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007966/0.6323, allocations: 0.9795 MB / 434.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004661/0.6327, allocations: 410.9 kB / 434.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.6333, allocations: 259.4 kB / 434.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.6335, allocations: 357.9 kB / 435.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.6348, allocations: 0.7339 MB / 435.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.6364, allocations: 1.055 MB / 436.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.6396, allocations: 1.883 MB / 438.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/0.6396, allocations: 4 kB / 438.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004993/0.6446, allocations: 2.345 MB / 441.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.6446, allocations: 12.34 kB / 441.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.6447, allocations: 15.94 kB / 441.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.6458, allocations: 407.1 kB / 441.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.6471, allocations: 339.5 kB / 441.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00598/0.653, allocations: 5.063 MB / 447 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.6548, allocations: 83.91 kB / 447.1 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.6551, allocations: 55.94 kB / 447.1 MB, free: 6.406 MB / 366.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.002408/0.6575, allocations: 0.7081 MB / 447.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009313/0.6585, allocations: 166.1 kB / 448 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005241/0.6637, allocations: 2.137 MB / 450.1 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.6638, allocations: 12 kB / 450.1 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/0.6638, allocations: 4 kB / 450.2 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.6638, allocations: 7.969 kB / 450.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.6753, allocations: 4.569 MB / 454.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.6753, allocations: 0 / 454.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.6764, allocations: 220 kB / 454.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.6781, allocations: 466.8 kB / 455.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.6783, allocations: 43.92 kB / 455.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008592/0.6869, allocations: 6.681 MB / 462.1 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.6869, allocations: 0 / 462.1 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008578/0.6955, allocations: 3.184 MB / 465.3 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/0.6972, allocations: 399 kB / 465.7 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007364/0.6979, allocations: 27.98 kB / 465.7 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.6998, allocations: 75.92 kB / 465.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004551/0.7003, allocations: 112.8 kB / 465.9 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.7004, allocations: 39.92 kB / 465.9 MB, free: 2.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003231/0.7037, allocations: 1.04 MB / 467 MB, free: 1.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7037, allocations: 0 / 467 MB, free: 1.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003256/0.707, allocations: 464 kB / 467.4 MB, free: 1.438 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0006826/0.7077, allocations: 187.5 kB / 467.6 MB, free: 1.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005937/0.7136, allocations: 2.275 MB / 469.9 MB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.7136, allocations: 0 / 469.9 MB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003586/0.7172, allocations: 1.492 MB / 471.4 MB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004369/0.7216, allocations: 446.5 kB / 471.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.7354, allocations: 4.456 MB / 476.3 MB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003007/0.7384, allocations: 1.822 MB / 478.1 MB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00247/0.7409, allocations: 389.5 kB / 478.5 MB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008379/0.7418, allocations: 111.4 kB / 478.6 MB, free: 6.051 MB / 398.1 MB Notification: Performance of SimCode: time 1.933e-06/0.7418, allocations: 4 kB / 478.6 MB, free: 6.047 MB / 398.1 MB Notification: Performance of Templates: time 0.07291/0.8148, allocations: 25.98 MB / 0.4928 GB, free: 12.02 MB / 430.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/jenkins/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/jenkins/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