Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002664/0.002668, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.586/3.586, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001766/0.001766, allocations: 94.81 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006372/0.0006376, allocations: 8 kB / 327 MB, free: 15.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1784, allocations: 47.58 MB / 374.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01807/0.1965, allocations: 7.165 MB / 381.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.2069, allocations: 2.8 MB / 384.5 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.2088, allocations: 35.81 kB / 384.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00334/0.2122, allocations: 0.5015 MB / 385 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.2166, allocations: 0.6192 MB / 385.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.2183, allocations: 207.6 kB / 385.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005554/0.2239, allocations: 1.552 MB / 387.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003919/0.2279, allocations: 1.192 MB / 388.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.2304, allocations: 0.7356 MB / 389.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4165/0.6469, allocations: 0.9527 MB / 390.3 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001453/0.6485, allocations: 119.7 kB / 390.4 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.651, allocations: 186.1 kB / 390.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00269/0.6538, allocations: 0.5774 MB / 391.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002177/0.656, allocations: 452.3 kB / 391.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009886/0.666, allocations: 2.93 MB / 394.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.6661, allocations: 0 / 394.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.962e-06/0.6661, allocations: 1.656 kB / 394.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000195/0.6663, allocations: 3.5 kB / 394.6 MB, free: 10.16 MB / 282.7 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.01309/0.6794, allocations: 2.194 MB / 396.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/0.6795, allocations: 8.25 kB / 396.8 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.6821, allocations: 264.7 kB / 397 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006918/0.6891, allocations: 1.268 MB / 398.3 MB, free: 8.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.6895, allocations: 136.5 kB / 398.4 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.6911, allocations: 180.7 kB / 398.6 MB, free: 8.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/0.7055, allocations: 2.385 MB / 401 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/0.7058, allocations: 7.469 kB / 401 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005922/0.7064, allocations: 74.58 kB / 401.1 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002675/0.7067, allocations: 87.64 kB / 401.1 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/0.719, allocations: 2.016 MB / 403.2 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03506/0.7542, allocations: 7.459 MB / 410.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005212/0.7595, allocations: 1.278 MB / 411.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000524/0.7601, allocations: 120.8 kB / 412 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.7602, allocations: 54.44 kB / 412.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=84): time 7.525e-06/0.7602, allocations: 0 / 412.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.02688/0.7871, allocations: 5.05 MB / 417.1 MB, free: 0 / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.7873, allocations: 62.12 kB / 417.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005368/0.7927, allocations: 1.329 MB / 418.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005442/0.7933, allocations: 45.7 kB / 418.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002257/0.7956, allocations: 0.8624 MB / 419.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001244/0.7969, allocations: 346 kB / 419.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.7973, allocations: 28 kB / 419.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004515/0.7978, allocations: 365.8 kB / 420.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004883/0.8027, allocations: 0.6389 MB / 420.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004664/0.8075, allocations: 0.9288 MB / 421.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004273/0.8119, allocations: 0.7818 MB / 422.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-05/0.812, allocations: 0 / 422.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.0144/0.8264, allocations: 2.329 MB / 424.8 MB, free: 8.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.8265, allocations: 8 kB / 424.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/0.8266, allocations: 8 kB / 424.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/0.8322, allocations: 0.7435 MB / 425.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.8353, allocations: 238.9 kB / 425.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02804/0.8634, allocations: 8.555 MB / 434.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/0.8665, allocations: 79.92 kB / 434.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005157/0.8671, allocations: 47.98 kB / 434.5 MB, free: 14.79 MB / 314.7 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003403/0.8705, allocations: 0.6277 MB / 435.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008534/0.8714, allocations: 154.4 kB / 435.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008832/0.8803, allocations: 1.911 MB / 437.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/0.8804, allocations: 8 kB / 437.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/0.8804, allocations: 4 kB / 437.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.334e-05/0.8805, allocations: 11.97 kB / 437.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/0.8991, allocations: 3.991 MB / 441.2 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/0.8992, allocations: 4 kB / 441.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/0.9015, allocations: 186.1 kB / 441.4 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003124/0.9047, allocations: 467.1 kB / 441.8 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003689/0.9051, allocations: 31.98 kB / 441.9 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/0.9201, allocations: 6.254 MB / 448.1 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.9202, allocations: 7.75 kB / 448.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/0.9323, allocations: 2.913 MB / 451 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/0.9344, allocations: 361.4 kB / 451.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008416/0.9353, allocations: 20 kB / 451.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/0.938, allocations: 79.92 kB / 451.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007272/0.9388, allocations: 84.83 kB / 451.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/0.939, allocations: 27.98 kB / 451.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00375/0.9428, allocations: 0.9152 MB / 452.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.9429, allocations: 3.938 kB / 452.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004149/0.947, allocations: 428 kB / 452.9 MB, free: 11.84 MB / 330.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007925/0.9479, allocations: 146.3 kB / 453.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.009037/0.957, allocations: 2.046 MB / 455.1 MB, free: 9.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.957, allocations: 0 / 455.1 MB, free: 9.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005406/0.9625, allocations: 1.365 MB / 456.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004442/0.967, allocations: 351.8 kB / 456.8 MB, free: 7.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/0.9848, allocations: 4.791 MB / 461.6 MB, free: 3.074 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003636/0.9885, allocations: 1.708 MB / 463.3 MB, free: 1.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.9897, allocations: 109.8 kB / 463.4 MB, free: 1.227 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.9897, allocations: 0 / 463.4 MB, free: 1.227 MB / 330.7 MB Notification: Performance of Templates: time 0.1604/1.15, allocations: 49.63 MB / 0.501 GB, free: 15.5 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches