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.001376/0.001376, allocations: 105.4 kB / 18.4 MB, free: 4.66 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.001652/0.001652, allocations: 189.2 kB / 19.33 MB, free: 3.738 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.31/1.31, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001291/0.001291, allocations: 51.94 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08514/0.08644, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.2404/0.3269, allocations: 9.344 MB / 385.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004842/0.3317, allocations: 3.027 MB / 388.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.333, allocations: 41.91 kB / 388.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.3347, allocations: 0.6387 MB / 388.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.3371, allocations: 0.7783 MB / 389.6 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.3379, allocations: 356.9 kB / 390 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003111/0.3411, allocations: 2.68 MB / 392.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.3436, allocations: 1.899 MB / 394.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.3455, allocations: 1.188 MB / 395.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.3478, allocations: 1.492 MB / 397.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005696/0.3484, allocations: 308.2 kB / 397.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.3495, allocations: 400.2 kB / 397.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009/0.3504, allocations: 0.8868 MB / 398.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.3519, allocations: 1.404 MB / 400.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004119/0.356, allocations: 4.087 MB / 404.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3561, allocations: 4 kB / 404.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3561, allocations: 0 / 404.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.305e-05/0.3562, allocations: 1.344 kB / 404.3 MB, free: 14.86 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.007009/0.3632, allocations: 2.842 MB / 407.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3632, allocations: 9.156 kB / 407.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009637/0.3642, allocations: 294.9 kB / 407.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.367, allocations: 1.441 MB / 408.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.3672, allocations: 158.9 kB / 409.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/0.3676, allocations: 205.2 kB / 409.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005149/0.3728, allocations: 2.735 MB / 412 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.656e-05/0.3729, allocations: 13.44 kB / 412 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.3731, allocations: 76 kB / 412.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.255e-05/0.3732, allocations: 96.02 kB / 412.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003932/0.3771, allocations: 2.321 MB / 414.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.3907, allocations: 8.32 MB / 422.8 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.3929, allocations: 1.769 MB / 424.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.3948, allocations: 1.069 MB / 425.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.395, allocations: 122.1 kB / 425.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3951, allocations: 47.55 kB / 425.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.366e-06/0.3951, allocations: 0 / 425.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01353/0.4086, allocations: 6.308 MB / 432.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.4087, allocations: 68.41 kB / 432.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.4114, allocations: 1.516 MB / 433.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.4115, allocations: 45.7 kB / 433.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007291/0.4123, allocations: 0.9795 MB / 434.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.4127, allocations: 422 kB / 435.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004215/0.4131, allocations: 251.4 kB / 435.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4132, allocations: 361.9 kB / 435.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.4144, allocations: 0.73 MB / 436.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.4157, allocations: 1.059 MB / 437.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.4183, allocations: 1.875 MB / 439.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.4183, allocations: 8 kB / 439.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004039/0.4224, allocations: 2.349 MB / 441.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4224, allocations: 8 kB / 441.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.4224, allocations: 12 kB / 441.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009943/0.4234, allocations: 408.6 kB / 442.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4247, allocations: 335.5 kB / 442.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005228/0.4299, allocations: 5.063 MB / 447.6 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.4314, allocations: 95.97 kB / 447.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.4316, allocations: 55.92 kB / 447.7 MB, free: 6.484 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.001393/0.433, allocations: 0.7042 MB / 448.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/0.4335, allocations: 162 kB / 448.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.4375, allocations: 2.145 MB / 450.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.4375, allocations: 12 kB / 450.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.4376, allocations: 0 / 450.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.4376, allocations: 7.984 kB / 450.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00879/0.4464, allocations: 4.565 MB / 455.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.4464, allocations: 7.984 kB / 455.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.4474, allocations: 220 kB / 455.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.4487, allocations: 466.8 kB / 456 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.4488, allocations: 35.92 kB / 456 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006446/0.4553, allocations: 6.686 MB / 462.7 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.4553, allocations: 4.031 kB / 462.7 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005351/0.4607, allocations: 3.18 MB / 465.9 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.4618, allocations: 391 kB / 466.3 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005563/0.4624, allocations: 35.98 kB / 466.3 MB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.4635, allocations: 75.91 kB / 466.4 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.4639, allocations: 104.8 kB / 466.5 MB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.469e-05/0.464, allocations: 35.98 kB / 466.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001883/0.4659, allocations: 1.052 MB / 467.6 MB, free: 1.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4659, allocations: 3.938 kB / 467.6 MB, free: 1.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001892/0.4678, allocations: 456 kB / 468 MB, free: 1.523 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.0004245/0.4682, allocations: 191.7 kB / 468.2 MB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004591/0.4728, allocations: 2.271 MB / 470.5 MB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.4728, allocations: 8.125 kB / 470.5 MB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003508/0.4764, allocations: 1.488 MB / 472 MB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/0.4802, allocations: 445.9 kB / 472.4 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.4931, allocations: 4.509 MB / 476.9 MB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002839/0.496, allocations: 1.799 MB / 478.7 MB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009692/0.497, allocations: 123.4 kB / 478.9 MB, free: 6.473 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.497, allocations: 0 / 478.9 MB, free: 6.473 MB / 398.1 MB Notification: Performance of Templates: time 0.1215/0.6185, allocations: 70.37 MB / 0.5363 GB, free: 15.95 MB / 478.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