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.00159/0.00159, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.001766/0.001766, allocations: 191 kB / 19.29 MB, free: 3.715 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.571/1.571, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00132/0.00132, allocations: 47.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1427, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01294/0.1557, allocations: 9.338 MB / 338.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008316/0.1641, allocations: 3.027 MB / 341.1 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/0.1669, allocations: 39.81 kB / 341.1 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.1695, allocations: 0.625 MB / 341.8 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.1731, allocations: 0.7687 MB / 342.5 MB, free: 5.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1744, allocations: 359.5 kB / 342.9 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00529/0.1797, allocations: 2.696 MB / 345.6 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003524/0.1832, allocations: 1.904 MB / 347.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.1862, allocations: 1.18 MB / 348.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.1899, allocations: 1.495 MB / 350.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.1913, allocations: 308 kB / 350.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.1933, allocations: 395.8 kB / 350.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.1946, allocations: 0.8882 MB / 351.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002267/0.1969, allocations: 1.412 MB / 353.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004983/0.2019, allocations: 4.081 MB / 357.2 MB, free: 7.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.2019, allocations: 3.938 kB / 357.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.2019, allocations: 0 / 357.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001475/0.2021, allocations: 0 / 357.2 MB, free: 7.074 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.007732/0.2098, allocations: 2.845 MB / 360.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.2099, allocations: 12.03 kB / 360.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007971/0.2107, allocations: 285.7 kB / 360.4 MB, free: 3.871 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.2138, allocations: 1.442 MB / 361.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.214, allocations: 160.4 kB / 362 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/0.2144, allocations: 208 kB / 362.2 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004812/0.2192, allocations: 2.732 MB / 364.9 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.427e-05/0.2193, allocations: 4 kB / 364.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.2195, allocations: 91.94 kB / 365 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/0.2197, allocations: 99.86 kB / 365.1 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00417/0.2238, allocations: 2.315 MB / 367.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.2397, allocations: 8.321 MB / 375.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.2426, allocations: 1.757 MB / 377.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.2446, allocations: 1.069 MB / 378.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.2449, allocations: 122.1 kB / 378.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.245, allocations: 43.56 kB / 378.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.617e-06/0.245, allocations: 4 kB / 378.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.281/0.526, allocations: 6.29 MB / 385 MB, free: 50.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.5261, allocations: 66.7 kB / 385.1 MB, free: 50.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.5288, allocations: 1.514 MB / 386.6 MB, free: 49.76 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.372e-05/0.5289, allocations: 47.02 kB / 386.6 MB, free: 49.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/0.5296, allocations: 0.9926 MB / 387.6 MB, free: 48.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.53, allocations: 417 kB / 388 MB, free: 48.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000431/0.5304, allocations: 251.3 kB / 388.3 MB, free: 48.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5305, allocations: 361 kB / 388.6 MB, free: 48.19 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.5318, allocations: 0.7369 MB / 389.4 MB, free: 47.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.5332, allocations: 1.051 MB / 390.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/0.5357, allocations: 1.88 MB / 392.3 MB, free: 46.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.5357, allocations: 1.812 kB / 392.3 MB, free: 46.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003706/0.5394, allocations: 2.355 MB / 394.7 MB, free: 45.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.5395, allocations: 8.25 kB / 394.7 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.5395, allocations: 13.56 kB / 394.7 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.5405, allocations: 407.3 kB / 395.1 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.5418, allocations: 325.5 kB / 395.4 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/0.5459, allocations: 5.065 MB / 400.5 MB, free: 41.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.5472, allocations: 85.91 kB / 400.5 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.5473, allocations: 58.77 kB / 400.6 MB, free: 41.33 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.001138/0.5485, allocations: 0.7122 MB / 401.3 MB, free: 40.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.5488, allocations: 160.9 kB / 401.5 MB, free: 40.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003032/0.5518, allocations: 2.14 MB / 403.6 MB, free: 39.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.5518, allocations: 15 kB / 403.6 MB, free: 39.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5518, allocations: 7.688 kB / 403.6 MB, free: 39.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.5519, allocations: 3.984 kB / 403.6 MB, free: 39.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006071/0.5579, allocations: 4.567 MB / 408.2 MB, free: 35.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.558, allocations: 0 / 408.2 MB, free: 35.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008499/0.5588, allocations: 223 kB / 408.4 MB, free: 34.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.5598, allocations: 463.1 kB / 408.9 MB, free: 34.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.841e-05/0.5599, allocations: 36.83 kB / 408.9 MB, free: 34.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/0.5646, allocations: 6.686 MB / 415.6 MB, free: 27.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5646, allocations: 0 / 415.6 MB, free: 27.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003806/0.5684, allocations: 3.188 MB / 418.8 MB, free: 24.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008254/0.5692, allocations: 402.9 kB / 419.2 MB, free: 23.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.5694, allocations: 27.98 kB / 419.2 MB, free: 23.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/0.5702, allocations: 79.91 kB / 419.3 MB, free: 23.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.5704, allocations: 96.86 kB / 419.4 MB, free: 23.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.5705, allocations: 39.42 kB / 419.4 MB, free: 23.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.5717, allocations: 1.049 MB / 420.5 MB, free: 22.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5717, allocations: 3.938 kB / 420.5 MB, free: 22.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001457/0.5732, allocations: 456 kB / 420.9 MB, free: 22 MB / 318.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.0003508/0.5736, allocations: 194.2 kB / 421.1 MB, free: 21.81 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.5764, allocations: 2.274 MB / 423.4 MB, free: 19.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5764, allocations: 3.938 kB / 423.4 MB, free: 19.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.5782, allocations: 1.488 MB / 424.9 MB, free: 17.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.5801, allocations: 439.2 kB / 425.3 MB, free: 17.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/0.5865, allocations: 4.463 MB / 429.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.5877, allocations: 1.822 MB / 431.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001046/0.5887, allocations: 397.5 kB / 432 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.589, allocations: 119 kB / 432.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of SimCode: time 1.302e-06/0.589, allocations: 0 / 432.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of Templates: time 0.0409/0.6299, allocations: 25.54 MB / 457.6 MB, free: 1.098 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 -s cvode -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