Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009227/0.0009226, allocations: 96.03 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 206.3 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.7 MB / 247.5 MB, free: 9.688 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002562, allocations: 8 kB / 308.4 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 51.52 MB / 359.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009138/0.1223, allocations: 8.32 MB / 368.2 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006038/0.1284, allocations: 2.836 MB / 371.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.13, allocations: 43.81 kB / 371.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.132, allocations: 0.5283 MB / 371.6 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.1345, allocations: 0.6372 MB / 372.3 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1355, allocations: 291.7 kB / 372.6 MB, free: 380 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1769/0.3125, allocations: 2.557 MB / 375.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00239/0.3149, allocations: 1.424 MB / 376.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.3165, allocations: 0.7862 MB / 377.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.3185, allocations: 1.103 MB / 378.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005305/0.319, allocations: 115.9 kB / 378.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009025/0.3199, allocations: 223.3 kB / 378.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006597/0.3206, allocations: 0.5841 MB / 379.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.3218, allocations: 1.038 MB / 380.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.3249, allocations: 2.84 MB / 383.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3249, allocations: 1 kB / 383.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3249, allocations: 0 / 383.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.46e-05/0.325, allocations: 4 kB / 383.2 MB, free: 9.012 MB / 302.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.004077/0.3291, allocations: 2.121 MB / 385.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3291, allocations: 9.688 kB / 385.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006919/0.3298, allocations: 254.6 kB / 385.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.3316, allocations: 1.27 MB / 386.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.222e-05/0.3317, allocations: 138.3 kB / 387 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/0.332, allocations: 183.1 kB / 387.2 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/0.3357, allocations: 2.389 MB / 389.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.84e-05/0.3358, allocations: 6.969 kB / 389.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.336, allocations: 72.8 kB / 389.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.473e-05/0.3361, allocations: 92.22 kB / 389.8 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003122/0.3392, allocations: 1.984 MB / 391.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009234/0.3484, allocations: 7.172 MB / 398.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.3501, allocations: 1.292 MB / 400.2 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.3516, allocations: 0.8775 MB / 401.1 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.3518, allocations: 120 kB / 401.2 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3519, allocations: 44.34 kB / 401.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.635e-06/0.3519, allocations: 0 / 401.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01335/0.3653, allocations: 6.227 MB / 407.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.3653, allocations: 64.41 kB / 407.5 MB, free: 8.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.3671, allocations: 1.215 MB / 408.7 MB, free: 6.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.85e-05/0.3672, allocations: 41.7 kB / 408.8 MB, free: 6.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/0.3677, allocations: 0.8649 MB / 409.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.368, allocations: 370.4 kB / 410 MB, free: 5.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.3682, allocations: 105.6 kB / 410.1 MB, free: 5.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3683, allocations: 357.8 kB / 410.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009949/0.3693, allocations: 0.6272 MB / 411.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.3705, allocations: 0.9305 MB / 412 MB, free: 3.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.3728, allocations: 1.654 MB / 413.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3728, allocations: 4 kB / 413.7 MB, free: 1.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003715/0.3765, allocations: 2.247 MB / 415.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3766, allocations: 8 kB / 415.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.3766, allocations: 8 kB / 415.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.3777, allocations: 485 kB / 416.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009599/0.3787, allocations: 275.6 kB / 416.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00625/0.3849, allocations: 6.429 MB / 423.1 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.3861, allocations: 91.97 kB / 423.2 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.3862, allocations: 48 kB / 423.3 MB, free: 7.703 MB / 334.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.001168/0.3874, allocations: 0.5988 MB / 423.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.3877, allocations: 142.2 kB / 424 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.3914, allocations: 2.052 MB / 426 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.3914, allocations: 8 kB / 426.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.3914, allocations: 4 kB / 426.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.3914, allocations: 11.97 kB / 426.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007244/0.3987, allocations: 4.241 MB / 430.3 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.3987, allocations: 8.453 kB / 430.3 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007379/0.3995, allocations: 187.7 kB / 430.5 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.4008, allocations: 0.5295 MB / 431 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.822e-05/0.4009, allocations: 31.98 kB / 431.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007648/0.4086, allocations: 7.911 MB / 439 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.4086, allocations: 7.938 kB / 439 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004727/0.4133, allocations: 2.974 MB / 442 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007766/0.4141, allocations: 347.2 kB / 442.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/0.4145, allocations: 31.98 kB / 442.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009692/0.4155, allocations: 75.92 kB / 442.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.4157, allocations: 96.75 kB / 442.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/0.4158, allocations: 32 kB / 442.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001544/0.4174, allocations: 0.8422 MB / 443.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4174, allocations: 3.938 kB / 443.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001745/0.4191, allocations: 408 kB / 443.8 MB, free: 2.371 MB / 350.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.0004268/0.4196, allocations: 192.6 kB / 444 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003568/0.4231, allocations: 2.172 MB / 446.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4231, allocations: 1.875 kB / 446.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.4254, allocations: 1.498 MB / 447.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.428, allocations: 368.4 kB / 448 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007344/0.4354, allocations: 4.908 MB / 452.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.437, allocations: 1.622 MB / 454.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.4374, allocations: 99.42 kB / 454.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4374, allocations: 0 / 454.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of Templates: time 0.0765/0.5139, allocations: 67.84 MB / 0.5102 GB, free: 3.438 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches