Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001095, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001051/0.001051, allocations: 187.1 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2581, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01031/0.2684, allocations: 8.836 MB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005209/0.2737, allocations: 2.836 MB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.2747, allocations: 51.81 kB / 413.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.2762, allocations: 0.5939 MB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.2782, allocations: 0.7027 MB / 414.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007721/0.279, allocations: 315.6 kB / 414.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002312/0.2813, allocations: 2.226 MB / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.2832, allocations: 1.742 MB / 418.7 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.2846, allocations: 1.024 MB / 419.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.2864, allocations: 1.281 MB / 421 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003785/0.2868, allocations: 275.9 kB / 421.3 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.2874, allocations: 359.8 kB / 421.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006615/0.2881, allocations: 0.7519 MB / 422.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.2893, allocations: 1.206 MB / 423.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.2926, allocations: 3.528 MB / 427.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2926, allocations: 4 kB / 427.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2926, allocations: 0 / 427.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.334e-05/0.2927, allocations: 0 / 427.1 MB, free: 15.01 MB / 350.1 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.00518/0.2979, allocations: 2.477 MB / 429.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2979, allocations: 8.031 kB / 429.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006544/0.2986, allocations: 250.2 kB / 429.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.3006, allocations: 1.305 MB / 431.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.429e-05/0.3007, allocations: 135.9 kB / 431.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.301, allocations: 192 kB / 431.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/0.305, allocations: 2.374 MB / 433.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.3051, allocations: 4 kB / 433.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.3052, allocations: 72 kB / 433.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.836e-05/0.3053, allocations: 95.44 kB / 434 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/0.3087, allocations: 1.962 MB / 436 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.3196, allocations: 7.062 MB / 443 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.3214, allocations: 1.286 MB / 444.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.323, allocations: 0.862 MB / 445.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.3232, allocations: 114.1 kB / 445.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3232, allocations: 47.55 kB / 445.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.575e-06/0.3232, allocations: 0 / 445.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01383/0.3371, allocations: 6.093 MB / 451.4 MB, free: 6.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3372, allocations: 64.41 kB / 451.5 MB, free: 6.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.3389, allocations: 1.215 MB / 452.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.971e-05/0.339, allocations: 49.64 kB / 452.8 MB, free: 4.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000575/0.3396, allocations: 0.8573 MB / 453.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.3399, allocations: 366.8 kB / 454 MB, free: 3.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003496/0.3403, allocations: 222.8 kB / 454.2 MB, free: 3.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3404, allocations: 357.9 kB / 454.6 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.3415, allocations: 0.6155 MB / 455.2 MB, free: 2.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.3427, allocations: 0.9188 MB / 456.1 MB, free: 1.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.345, allocations: 1.643 MB / 457.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.345, allocations: 4 kB / 457.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003761/0.3488, allocations: 2.219 MB / 460 MB, free: 13.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3488, allocations: 12.03 kB / 460 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.3488, allocations: 12 kB / 460 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.3499, allocations: 483.9 kB / 460.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.351, allocations: 271.6 kB / 460.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006853/0.3578, allocations: 7.015 MB / 467.7 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.359, allocations: 83.81 kB / 467.8 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.3592, allocations: 44 kB / 467.9 MB, free: 4.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00109/0.3603, allocations: 0.6043 MB / 468.5 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.3606, allocations: 130.4 kB / 468.6 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/0.3644, allocations: 2.027 MB / 470.6 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3644, allocations: 12 kB / 470.6 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.3644, allocations: 4 kB / 470.6 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3645, allocations: 3.984 kB / 470.6 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00747/0.3719, allocations: 4.207 MB / 474.8 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.372, allocations: 4.469 kB / 474.8 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/0.3727, allocations: 183.8 kB / 475 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.3741, allocations: 0.5309 MB / 475.6 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.891e-05/0.3742, allocations: 31.98 kB / 475.6 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008159/0.3824, allocations: 8.623 MB / 484.2 MB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3824, allocations: 7.938 kB / 484.2 MB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004634/0.3871, allocations: 2.942 MB / 487.2 MB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007072/0.3878, allocations: 343.4 kB / 487.5 MB, free: 392 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003646/0.3882, allocations: 27.98 kB / 487.5 MB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009562/0.3892, allocations: 75.86 kB / 487.6 MB, free: 288 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.3894, allocations: 84.83 kB / 487.7 MB, free: 204 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/0.3895, allocations: 35.98 kB / 487.7 MB, free: 168 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001357/0.3908, allocations: 0.842 MB / 488.6 MB, free: 15.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3909, allocations: 4 kB / 488.6 MB, free: 15.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001551/0.3924, allocations: 412 kB / 489 MB, free: 14.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,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.0004067/0.3928, allocations: 194.9 kB / 489.2 MB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003751/0.3966, allocations: 2.173 MB / 491.3 MB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3966, allocations: 0 / 491.3 MB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002358/0.399, allocations: 1.472 MB / 492.8 MB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.4012, allocations: 387.8 kB / 493.2 MB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007259/0.4085, allocations: 3.94 MB / 497.1 MB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.4102, allocations: 1.618 MB / 498.7 MB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.4107, allocations: 99.42 kB / 498.8 MB, free: 4.762 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4107, allocations: 0 / 498.8 MB, free: 4.762 MB / 414.1 MB Notification: Performance of Templates: time 0.2601/0.6708, allocations: 68.14 MB / 0.5537 GB, free: 128.2 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches