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.001163/0.001164, allocations: 105.5 kB / 17.73 MB, free: 5.238 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.001304/0.001304, allocations: 187.1 kB / 18.66 MB, free: 4.312 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.663/1.663, allocations: 205.1 MB / 224.5 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.00178/0.001781, allocations: 59.91 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1259, allocations: 46.61 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.2896/0.4155, allocations: 8.864 MB / 384 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.4214, allocations: 2.917 MB / 386.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.4227, allocations: 34.91 kB / 387 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.4245, allocations: 0.641 MB / 387.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.4271, allocations: 0.7595 MB / 388.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008714/0.428, allocations: 325.4 kB / 388.7 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004634/0.4326, allocations: 2.398 MB / 391.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003592/0.4363, allocations: 1.704 MB / 392.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.4394, allocations: 1.066 MB / 393.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.4422, allocations: 1.338 MB / 395.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006555/0.4429, allocations: 279.1 kB / 395.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.4442, allocations: 371.4 kB / 395.8 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.4455, allocations: 0.8057 MB / 396.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.4476, allocations: 1.26 MB / 397.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00637/0.454, allocations: 3.682 MB / 401.6 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.454, allocations: 1.375 kB / 401.6 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.454, allocations: 0 / 401.6 MB, free: 84 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.378e-05/0.4541, allocations: 0 / 401.6 MB, free: 84 kB / 318.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.01069/0.4648, allocations: 2.577 MB / 404.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.956e-05/0.4649, allocations: 9.406 kB / 404.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.4664, allocations: 259.4 kB / 404.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004731/0.4712, allocations: 1.302 MB / 405.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.4714, allocations: 142.2 kB / 405.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006197/0.472, allocations: 183.1 kB / 406 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008146/0.4802, allocations: 2.415 MB / 408.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.23e-05/0.4803, allocations: 6.25 kB / 408.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003614/0.4807, allocations: 71.94 kB / 408.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/0.4809, allocations: 87.67 kB / 408.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006678/0.4876, allocations: 2.016 MB / 410.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02347/0.5111, allocations: 7.377 MB / 418 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/0.5147, allocations: 1.268 MB / 419.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003289/0.5181, allocations: 0.9198 MB / 420.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003639/0.5184, allocations: 118.1 kB / 420.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.5185, allocations: 43.55 kB / 420.3 MB, free: 2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 5.42e-06/0.5185, allocations: 4 kB / 420.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.01867/0.5372, allocations: 4.998 MB / 425.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.5374, allocations: 60.41 kB / 425.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003743/0.5411, allocations: 1.381 MB / 426.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.5414, allocations: 45.7 kB / 426.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.5425, allocations: 0.8892 MB / 427.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005538/0.5431, allocations: 358.9 kB / 428.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006131/0.5437, allocations: 218.8 kB / 428.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.544, allocations: 349.9 kB / 428.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.5459, allocations: 0.635 MB / 429.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.5482, allocations: 0.9219 MB / 430.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004387/0.5526, allocations: 1.645 MB / 431.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.5527, allocations: 4 kB / 431.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.008188/0.5609, allocations: 2.386 MB / 434.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.561, allocations: 11.94 kB / 434.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/0.561, allocations: 12 kB / 434.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003484/0.5645, allocations: 0.7121 MB / 435 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.5663, allocations: 235.6 kB / 435.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0198/0.5861, allocations: 8.741 MB / 443.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.5883, allocations: 87.78 kB / 444 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.5885, allocations: 52.12 kB / 444.1 MB, free: 9.566 MB / 366.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.001903/0.5904, allocations: 0.6224 MB / 444.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004454/0.5909, allocations: 142.2 kB / 444.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005968/0.5969, allocations: 1.897 MB / 446.7 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.5969, allocations: 12 kB / 446.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5969, allocations: 0 / 446.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.597, allocations: 11.97 kB / 446.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.6086, allocations: 4.008 MB / 450.8 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.6086, allocations: 3.984 kB / 450.8 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.6101, allocations: 188 kB / 450.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/0.6119, allocations: 462.9 kB / 451.4 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.612, allocations: 27.98 kB / 451.4 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/0.6228, allocations: 6.685 MB / 458.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.6228, allocations: 7.938 kB / 458.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007482/0.6303, allocations: 2.771 MB / 460.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.6315, allocations: 355.2 kB / 461.2 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.6319, allocations: 28 kB / 461.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.6332, allocations: 67.92 kB / 461.3 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000338/0.6335, allocations: 84.81 kB / 461.4 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.6337, allocations: 27.98 kB / 461.4 MB, free: 7.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002288/0.636, allocations: 0.9543 MB / 462.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.636, allocations: 4 kB / 462.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002507/0.6385, allocations: 436.1 kB / 462.8 MB, free: 6.176 MB / 382.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.0005314/0.639, allocations: 191 kB / 463 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005422/0.6445, allocations: 2.011 MB / 465 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.6445, allocations: 1.875 kB / 465 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003641/0.6481, allocations: 1.335 MB / 466.4 MB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/0.6516, allocations: 394.5 kB / 466.7 MB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00901/0.6606, allocations: 4.01 MB / 470.8 MB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.6622, allocations: 1.7 MB / 472.5 MB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001033/0.6632, allocations: 304.1 kB / 472.7 MB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.6636, allocations: 103.4 kB / 472.8 MB, free: 11.96 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6636, allocations: 0 / 472.8 MB, free: 11.96 MB / 398.1 MB Notification: Performance of Templates: time 0.0472/0.7108, allocations: 24.41 MB / 497.3 MB, free: 3.512 MB / 414.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 -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/jenkins/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/jenkins/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