Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001762/0.001763, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 61.38 kB / 307.1 MB, free: 0.8945 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1049, allocations: 50.54 MB / 357.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01248/0.1175, allocations: 9.604 MB / 367.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006201/0.1237, allocations: 3.112 MB / 370.4 MB, free: 1.578 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.1248, allocations: 51.75 kB / 370.5 MB, free: 1.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.1266, allocations: 0.602 MB / 371.1 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.1289, allocations: 0.6916 MB / 371.7 MB, free: 232 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1768/0.3057, allocations: 342.5 kB / 372.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003843/0.3096, allocations: 2.542 MB / 374.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002891/0.3125, allocations: 2.327 MB / 376.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.315, allocations: 1.195 MB / 378.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.3171, allocations: 1.535 MB / 379.7 MB, free: 10 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000596/0.3177, allocations: 317.5 kB / 380 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.3188, allocations: 427.8 kB / 380.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008241/0.3196, allocations: 0.8964 MB / 381.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.3213, allocations: 1.422 MB / 382.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004378/0.3256, allocations: 3.459 MB / 386.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3257, allocations: 1.438 kB / 386.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3257, allocations: 0 / 386.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000107/0.3258, allocations: 0 / 386.2 MB, free: 7.676 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.0073/0.3331, allocations: 2.915 MB / 389.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3332, allocations: 9 kB / 389.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/0.3342, allocations: 296.7 kB / 389.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.3365, allocations: 1.488 MB / 390.9 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.3366, allocations: 161.2 kB / 391 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.337, allocations: 225.1 kB / 391.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004669/0.3416, allocations: 2.792 MB / 394.1 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.797e-05/0.3417, allocations: 10.55 kB / 394.1 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/0.3419, allocations: 92.84 kB / 394.2 MB, free: 2.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.3421, allocations: 101.9 kB / 394.3 MB, free: 2.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.3457, allocations: 2.349 MB / 396.6 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.3607, allocations: 8.601 MB / 405.2 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/0.3635, allocations: 1.702 MB / 406.9 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.3654, allocations: 0.9635 MB / 407.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/0.3658, allocations: 206.7 kB / 408.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.3658, allocations: 47.56 kB / 408.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=101): time 3.456e-06/0.3658, allocations: 0 / 408.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.01452/0.3804, allocations: 6.233 MB / 414.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.3805, allocations: 64.41 kB / 414.4 MB, free: 468 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.3829, allocations: 1.445 MB / 415.9 MB, free: 15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.3831, allocations: 45.7 kB / 415.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008481/0.384, allocations: 1.044 MB / 416.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/0.3844, allocations: 409.1 kB / 417.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004407/0.3849, allocations: 255.4 kB / 417.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.3851, allocations: 361.9 kB / 418 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.3863, allocations: 0.6871 MB / 418.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.3878, allocations: 1.07 MB / 419.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.3907, allocations: 1.869 MB / 421.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.3907, allocations: 4 kB / 421.6 MB, free: 8.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004561/0.3953, allocations: 2.421 MB / 424 MB, free: 6.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.3954, allocations: 12 kB / 424 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.3954, allocations: 8 kB / 424 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.3964, allocations: 423.2 kB / 424.4 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.3978, allocations: 331.4 kB / 424.8 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0081/0.4059, allocations: 7.051 MB / 431.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.4076, allocations: 103.8 kB / 431.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.4077, allocations: 52 kB / 432 MB, free: 14.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(3,11,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.001428/0.4092, allocations: 0.6964 MB / 432.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.4095, allocations: 162 kB / 432.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/0.4135, allocations: 2.126 MB / 434.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.4135, allocations: 16 kB / 435 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.4136, allocations: 4 kB / 435 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4136, allocations: 7.922 kB / 435 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008328/0.4219, allocations: 4.59 MB / 439.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.422, allocations: 0 / 439.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/0.4229, allocations: 211.7 kB / 439.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.4241, allocations: 439.3 kB / 440.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.4242, allocations: 39.98 kB / 440.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009183/0.4334, allocations: 8.629 MB / 448.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.4334, allocations: 4 kB / 448.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005829/0.4393, allocations: 3.104 MB / 452 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.4404, allocations: 379 kB / 452.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/0.4406, allocations: 35.98 kB / 452.4 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/0.4416, allocations: 79.91 kB / 452.5 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.4418, allocations: 100.7 kB / 452.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/0.4419, allocations: 35.98 kB / 452.6 MB, free: 8.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001624/0.4436, allocations: 0.9888 MB / 453.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4436, allocations: 0 / 453.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001885/0.4455, allocations: 464.1 kB / 454 MB, free: 7.203 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,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.0004596/0.4459, allocations: 193.7 kB / 454.2 MB, free: 7.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005121/0.4511, allocations: 2.705 MB / 456.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.4511, allocations: 0 / 456.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002573/0.4537, allocations: 1.438 MB / 458.4 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.4562, allocations: 427.8 kB / 458.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00914/0.4654, allocations: 5.463 MB / 464.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.4671, allocations: 1.788 MB / 466 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/0.4678, allocations: 127.4 kB / 466.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4678, allocations: 3.938 kB / 466.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Templates: time 0.0848/0.5526, allocations: 69.06 MB / 0.5227 GB, free: 5.84 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches