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.001569/0.001569, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007102/0.0007102, allocations: 89.03 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003099, allocations: 12 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2296, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.007566/0.2372, allocations: 7.834 MB / 382.9 MB, free: 39.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004882/0.2421, allocations: 2.736 MB / 385.7 MB, free: 37.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009426/0.2431, allocations: 36 kB / 385.7 MB, free: 37.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.2443, allocations: 497.4 kB / 386.2 MB, free: 36.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.2461, allocations: 0.6476 MB / 386.8 MB, free: 36.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.2466, allocations: 204.9 kB / 387 MB, free: 35.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.249, allocations: 2.5 MB / 389.5 MB, free: 34.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.2505, allocations: 1.396 MB / 390.9 MB, free: 32.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.2517, allocations: 0.8093 MB / 391.7 MB, free: 31.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.2529, allocations: 1.129 MB / 392.9 MB, free: 30.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.2531, allocations: 124 kB / 393 MB, free: 30.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.2536, allocations: 215.8 kB / 393.2 MB, free: 30.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000475/0.2541, allocations: 0.623 MB / 393.8 MB, free: 29.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000823/0.2549, allocations: 1.032 MB / 394.8 MB, free: 28.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.2567, allocations: 2.972 MB / 397.8 MB, free: 25.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2567, allocations: 0 / 397.8 MB, free: 25.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2567, allocations: 0 / 397.8 MB, free: 25.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.483e-05/0.2568, allocations: 0 / 397.8 MB, free: 25.88 MB / 298.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.003384/0.2602, allocations: 2.197 MB / 400 MB, free: 23.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2602, allocations: 12.03 kB / 400 MB, free: 23.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005428/0.2608, allocations: 258.1 kB / 400.3 MB, free: 23.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.2624, allocations: 1.291 MB / 401.6 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/0.2625, allocations: 136 kB / 401.7 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.2627, allocations: 192 kB / 401.9 MB, free: 21.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.2659, allocations: 2.398 MB / 404.3 MB, free: 19.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.266, allocations: 7.906 kB / 404.3 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.2662, allocations: 79.98 kB / 404.4 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.192e-05/0.2662, allocations: 87.48 kB / 404.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.269, allocations: 2.02 MB / 406.5 MB, free: 17.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009232/0.2782, allocations: 7.506 MB / 414 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.2798, allocations: 1.29 MB / 415.3 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.2811, allocations: 0.9081 MB / 416.2 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.2813, allocations: 122 kB / 416.3 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.2814, allocations: 47.56 kB / 416.4 MB, free: 6.891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=84): time 3.366e-06/0.2814, allocations: 0 / 416.4 MB, free: 6.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.007978/0.2894, allocations: 5.038 MB / 421.4 MB, free: 1.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.2894, allocations: 60.41 kB / 421.4 MB, free: 1.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.291, allocations: 1.365 MB / 422.8 MB, free: 308 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.548e-05/0.2911, allocations: 45.7 kB / 422.9 MB, free: 256 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/0.2917, allocations: 0.8969 MB / 423.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.292, allocations: 350.9 kB / 424.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.2921, allocations: 24 kB / 424.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2923, allocations: 353.9 kB / 424.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009896/0.2932, allocations: 0.6389 MB / 425.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.2944, allocations: 0.9259 MB / 426 MB, free: 12.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/0.2967, allocations: 1.653 MB / 427.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.2967, allocations: 4 kB / 427.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004223/0.3009, allocations: 2.402 MB / 430.1 MB, free: 8.734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.301, allocations: 8 kB / 430.1 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.301, allocations: 11.98 kB / 430.1 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.3028, allocations: 0.7082 MB / 430.8 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.3037, allocations: 239.7 kB / 431.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009873/0.3136, allocations: 8.001 MB / 439.1 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.3147, allocations: 84.06 kB / 439.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.3149, allocations: 48 kB / 439.2 MB, free: 15.36 MB / 330.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 (114): * Single equations (assignments): 112 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001218/0.3161, allocations: 0.6261 MB / 439.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.3165, allocations: 146.2 kB / 440 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003422/0.3199, allocations: 1.913 MB / 441.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.32, allocations: 8 kB / 441.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.32, allocations: 7.938 kB / 441.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.32, allocations: 3.984 kB / 441.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007052/0.3271, allocations: 4.021 MB / 445.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3271, allocations: 4 kB / 445.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/0.3279, allocations: 188 kB / 446.1 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.3291, allocations: 462.8 kB / 446.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.299e-05/0.3292, allocations: 36.09 kB / 446.6 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005837/0.3351, allocations: 6.144 MB / 452.7 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3351, allocations: 0 / 452.7 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004454/0.3396, allocations: 2.79 MB / 455.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000783/0.3404, allocations: 355.3 kB / 455.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004094/0.3408, allocations: 31.92 kB / 455.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009355/0.3417, allocations: 75.92 kB / 456 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.342, allocations: 84.81 kB / 456 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-05/0.342, allocations: 31.98 kB / 456.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001647/0.3437, allocations: 0.9465 MB / 457 MB, free: 12.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3437, allocations: 0 / 457 MB, free: 12.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001614/0.3453, allocations: 431.9 kB / 457.4 MB, free: 12.48 MB / 346.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.0003939/0.3457, allocations: 175 kB / 457.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003539/0.3493, allocations: 2.012 MB / 459.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3493, allocations: 0.5 kB / 459.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.3514, allocations: 1.355 MB / 461 MB, free: 8.848 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.3537, allocations: 366.5 kB / 461.3 MB, free: 8.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/0.361, allocations: 4.799 MB / 466.1 MB, free: 3.641 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.3626, allocations: 1.669 MB / 467.8 MB, free: 1.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.363, allocations: 103.4 kB / 467.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of SimCode: time 7.22e-07/0.363, allocations: 0 / 467.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of Templates: time 0.203/0.566, allocations: 52.3 MB / 0.508 GB, free: 100.6 MB / 378.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/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","../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