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_Inverter.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_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 175.5 kB / 16.72 MB, free: 5.051 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.601/1.601, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008136/0.0008138, allocations: 89.41 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003173, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2554, allocations: 47.58 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.007504/0.2629, allocations: 7.761 MB / 382.9 MB, free: 39.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005053/0.268, allocations: 2.707 MB / 385.6 MB, free: 37.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.2691, allocations: 32.06 kB / 385.6 MB, free: 37.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.2704, allocations: 497.4 kB / 386.1 MB, free: 36.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.2722, allocations: 0.6135 MB / 386.7 MB, free: 36.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.2728, allocations: 209 kB / 386.9 MB, free: 36.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002651/0.2755, allocations: 2.347 MB / 389.2 MB, free: 34.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.2769, allocations: 1.392 MB / 390.6 MB, free: 33.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.2781, allocations: 0.7704 MB / 391.4 MB, free: 32.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.2792, allocations: 1.074 MB / 392.5 MB, free: 31.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.2794, allocations: 120 kB / 392.6 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.2799, allocations: 219.8 kB / 392.8 MB, free: 30.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004487/0.2804, allocations: 0.5841 MB / 393.4 MB, free: 30.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007941/0.2812, allocations: 0.9931 MB / 394.4 MB, free: 29.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.283, allocations: 2.824 MB / 397.2 MB, free: 26.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.283, allocations: 4 kB / 397.2 MB, free: 26.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.283, allocations: 0 / 397.2 MB, free: 26.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.439e-05/0.283, allocations: 3.938 kB / 397.2 MB, free: 26.48 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.003507/0.2866, allocations: 2.119 MB / 399.3 MB, free: 24.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2866, allocations: 12.03 kB / 399.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005541/0.2872, allocations: 246.2 kB / 399.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.2888, allocations: 1.22 MB / 400.8 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.2889, allocations: 131.9 kB / 400.9 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.2891, allocations: 184.1 kB / 401.1 MB, free: 22.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/0.2924, allocations: 2.367 MB / 403.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/0.2925, allocations: 7.906 kB / 403.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.2927, allocations: 72 kB / 403.6 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.965e-05/0.2928, allocations: 95.5 kB / 403.7 MB, free: 19.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003141/0.2959, allocations: 1.966 MB / 405.6 MB, free: 17.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009278/0.3052, allocations: 7.179 MB / 412.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.3068, allocations: 1.28 MB / 414.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.308, allocations: 0.8891 MB / 415 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.3083, allocations: 126.1 kB / 415.1 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.3083, allocations: 43.56 kB / 415.1 MB, free: 8.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 5.23e-06/0.3083, allocations: 0 / 415.1 MB, free: 8.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.0112/0.3195, allocations: 5.984 MB / 421.1 MB, free: 2.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3196, allocations: 64.41 kB / 421.2 MB, free: 1.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.321, allocations: 1.203 MB / 422.4 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.576e-05/0.3211, allocations: 41.7 kB / 422.4 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004833/0.3216, allocations: 0.869 MB / 423.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.3219, allocations: 358.8 kB / 423.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/0.322, allocations: 24 kB / 423.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3222, allocations: 361.9 kB / 424 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.3232, allocations: 0.6233 MB / 424.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.3244, allocations: 0.9274 MB / 425.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.3267, allocations: 1.644 MB / 427.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3268, allocations: 4 kB / 427.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003656/0.3304, allocations: 2.231 MB / 429.5 MB, free: 9.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.3305, allocations: 12 kB / 429.5 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.3305, allocations: 8 kB / 429.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.3316, allocations: 488 kB / 430 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009572/0.3326, allocations: 275.5 kB / 430.2 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006414/0.339, allocations: 6.431 MB / 436.7 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.3402, allocations: 83.91 kB / 436.7 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.142e-05/0.3403, allocations: 52 kB / 436.8 MB, free: 1.586 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001132/0.3414, allocations: 0.5988 MB / 437.4 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.3417, allocations: 138.3 kB / 437.5 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003414/0.3451, allocations: 2.024 MB / 439.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.3451, allocations: 12 kB / 439.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3451, allocations: 4 kB / 439.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.3452, allocations: 7.969 kB / 439.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006653/0.3518, allocations: 4.233 MB / 443.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.3519, allocations: 4 kB / 443.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.3526, allocations: 191.6 kB / 444 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.3539, allocations: 0.5226 MB / 444.5 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.101e-05/0.354, allocations: 31.98 kB / 444.5 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007627/0.3616, allocations: 7.903 MB / 452.4 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.3617, allocations: 15.88 kB / 452.5 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00467/0.3664, allocations: 2.97 MB / 455.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008609/0.3672, allocations: 347.3 kB / 455.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.3674, allocations: 32 kB / 455.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/0.3681, allocations: 79.92 kB / 455.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.3684, allocations: 92.75 kB / 456 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/0.3684, allocations: 39.98 kB / 456 MB, free: 13.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001237/0.3697, allocations: 0.8225 MB / 456.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3697, allocations: 4 kB / 456.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001466/0.3712, allocations: 415.9 kB / 457.2 MB, free: 12.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (89): * Single equations (assignments): 84 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 6,(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.0003782/0.3716, allocations: 178.8 kB / 457.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003404/0.375, allocations: 2.162 MB / 459.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.375, allocations: 4.062 kB / 459.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002418/0.3774, allocations: 1.479 MB / 461.1 MB, free: 8.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.3801, allocations: 371.6 kB / 461.4 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006685/0.3868, allocations: 4.732 MB / 466.2 MB, free: 3.082 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.3881, allocations: 1.622 MB / 467.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/0.3885, allocations: 103.4 kB / 467.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3885, allocations: 0 / 467.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of Templates: time 0.2399/0.6285, allocations: 67.66 MB / 0.523 GB, free: 84.59 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches